In this exercise we examine a useful technique for generating a set of samples having a given
Question:
In this exercise we examine a useful technique for generating a set of samples having a given pdf.
(a) First, prove the following theorem: If X is a con tinuous random variable with cdf FX(x), the random variable
Y = Fx(X)
is a uniformly distributed random variable in the interval (0, 1).
(b) Using this theorem, design a random number generator to generate a sequence of exponentially distributed random variables having the pdf
fX(x) = αe-αxu(x)
where u(x) is the unit step. Plot histograms of the random numbers generated to check the validity of the random number generator you designed.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Principles of Communications Systems, Modulation and Noise
ISBN: 978-8126556793
7th edition
Authors: Rodger E. Ziemer, William H. Tranter
Question Posted: