how to gerenate gaussian and rayleigh RV from uniform RV?
13 views (last 30 days)
Show older comments
Hi all,
I have a question related with statistic. I read some other website and they said that: "An easy way to approximate normal distribution is to add three random numbers:
G = X + X + X
X = a uniformly distributed random number between -1 and 1.
G ~ a standard normal random number."
and
"
If X and Y are independent Gaussian random variables with mean 0 and standard deviation sigma, then sqrt(X^2 + Y^2) has a Rayleigh distribution with parameter sigma."
I wonder if anyone can confirm this and show me some other related articles Thanks so much,
0 Comments
Answers (2)
Image Analyst
on 7 Oct 2014
See attached demo to generate random numbers from a Rayleigh distribution and inverse power law distribution.
0 Comments
See Also
Categories
Find more on Inverse Gaussian Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!