how to generate random number from a given Normal distribution
1 view (last 30 days)
Show older comments
Benjamin
on 19 Sep 2019
Commented: José Osvaldo Ferreira Filho
on 21 Jun 2022
Hello
I need to generate random numbers (e.g. n = 100) from a parameter, x, with a Normal distribution that the Mean and Standard Deviation is also given (and do a Monte Carlo simulation by hand). Is there any command in Matlab that by giving the X = Normal (M, S.D.) it generates n numbers from that distribution?
Thank you,
2 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Random Number Generation 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!