Assume that the random variable X follows a uniform distribution given , fx(x)=1/20 for -10<x<10.if Y=2*(X^4) plot fy(y).

 Accepted Answer

The density function for Y is given by
f_y(y)=1/80*(y/2)^(-0.75), if 0<y<20000
f_y(y)=0 else
So if you plot this function, you are done.
Best wishes
Torsten.

More Answers (1)

Y=2*(-10+20*rand(10000,1)).^4;
H=histogram(Y,'Normalization','probability');
Best wishes
Torsten.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 13 Nov 2014

Answered:

on 13 Nov 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!