Answered step by step
Verified Expert Solution
Question
1 Approved Answer
WRITE MATLAB PROGRAM Create a function map_exponent ial that accepts a vector of data (under the assumption that the input vector datas U(0,1) and returns
WRITE MATLAB PROGRAM
Create a function map_exponent ial that accepts a vector of data (under the assumption that the input vector datas U(0,1) and returns a vector that has an exponential distribution. Your function accepts an input vector of data distributed as U(0.1) and a parameter > . Your function returns a like-sized output vector of data. e Perform an error check to verify that 0 SU,0. Start with numbers generated by the MATLAB function rand and create a set of numbers that obey the exponential distribution. Estimate the PDF for this new random variable using your histogram routine. Plot this PDF estimate over an appropriate range. Use your sample_mu var function to estimate the mean and variance for your new random variable. Include a screen capture displaying these results for your choice of >() Create a function map_exponent ial that accepts a vector of data (under the assumption that the input vector datas U(0,1) and returns a vector that has an exponential distribution. Your function accepts an input vector of data distributed as U(0.1) and a parameter > . Your function returns a like-sized output vector of data. e Perform an error check to verify that 0 SU,0. Start with numbers generated by the MATLAB function rand and create a set of numbers that obey the exponential distribution. Estimate the PDF for this new random variable using your histogram routine. Plot this PDF estimate over an appropriate range. Use your sample_mu var function to estimate the mean and variance for your new random variable. Include a screen capture displaying these results for your choice of >()Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started