Question: $$ 2. The CDF of a Rayleigh random variable is given as F_{X} (x)=left{begin{array}{lr} 1-e^{-frac{x^{2}}{2 sigma^{2}}} & x>0 W 0 & text { otherwise }

 $$ 2. The CDF of a Rayleigh random variable is given

$$ 2. The CDF of a Rayleigh random variable is given as F_{X} (x)=\left\{\begin{array}{lr} 1-e^{-\frac{x^{2}}{2 \sigma^{2}}} & x>0 W 0 & \text { otherwise } \end{array} ight. $$ Write a MATLAB program that uses the uniform random number generation function, rand, to generate a sequence of 20000 statistically independent and identically distributed Rayleigh random variables for $\sigma=1$. Plot the histogram for the 20000 symbols and compare it with the corresponding Rayleigh PDF. Hint: Let $U$ be a uniform $(0,1)$ random variable and let $F_{X}(x)$ denote a CDF with an inverse $F^{-1} (u) $ defined for $0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!