Question: 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
Get step-by-step solutions from verified subject matter experts
