Question: An algorithm for generating a Gaussian random variable from two independent uniform random variables is easily derived. (a) Let U and V be two statistically

An algorithm for generating a Gaussian random variable from two independent uniform random variables is easily derived.

(a) Let U and V be two statistically independent random numbers uniformly distributed in [0, 1]. Show that the following transformation generates two statistically independent Gaussian random numbers with unit variance and zero mean:

X = R cos (2πU)

Y = R sin (2πU)

where

R = √-2 in (V)

First show that R is Rayleigh.

(b) Generate 1000 random variable pairs according to the above algorithm. Plot histograms for each set (i.e., X and Y), and compare with Gaussian pdfs after properly scaling the histograms (i.e., divide each cell by the total number of counts times the cell width so that the histogram approximates a probability-density function). Use the hist function of MATLAB.

Step by Step Solution

3.30 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

ce62m Generate pairs of Gaussian random variables from Rayleigh and uniform RVs clf m inputEnter the ... View full answer

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 Principles Communications Systems Questions!