Question: how to generate random numbers with normal distribution in a fixed interval

June 12 2014 liumai 20

I want to generate random numbers following the normal distribution within a fixed interval.


For example, I want generate 10 random numbers in the interval [2903.5-5, 2903.5+5]. These random numbers should follow the normal distribution with mean 2903.5 and  standard deviation \sigma=3.


How can I do this?



Please Wait...