Suppose you have a random variable X with PDF
and that this random variable is transformed as Y 2 -= X .
Calculate ƒY y .
Repeat this problem using MATLAB.
Compare the estimate of the PDF from MATLAB with the analytically determined PDF.
Note that for this problem there is no function in MATLAB that provides a sequence of data samples that has the PDF specified in this problem for X . Thus you must find an appropriate way to transform a uniform random variable to produce the desired X . The results of Exercise 4.44 will be helpful here.