Reputation: 32081
In PHP
, can I get a set of random numbers which conform to a specified mean and standard deviation?
Upvotes: 8
Views: 3386
Reputation: 182819
The stats_rand_gen_normal
function will do exactly this. (Assuming you mean a normal distribution.)
Upvotes: 7