in reply to how can i generate random numbers with predefined mean and standard deviation
in thread how can i generate random numbers with predefined mean and standard deviation

For an algorithm and its description, you can have a look at "Numerical Recipes in C", it contains source code in C as well. Chapter 7 is relevant for you.

Hope this helps, -gjb-

  • Comment on Re: how can i generate random numbers with predefined mean and standard deviation