How can I generate a sample of 1-D random numbers following Gaussian distribution
Show older comments
I want to generate a sample of 1-D random numbers in an interval [a, b] following Gaussian distribution (using the analytical expression for probability density distribution(PDF)).
1 Comment
Doug Hull
on 14 Nov 2013
What would that even mean? Do you want to specify the mean and Standard deviation then truncate anything outside of [A,B]?
Accepted Answer
More Answers (0)
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!