Previous Up Next

7.3.6  Producing random numbers with a normal distribution: randnorm randNorm

The randnorm (or randNorm) command will choose a random number according to a normal distribution. Given the mean µ and standard deviation σ, randnorm(µ,σ) will return a number chosen according the normal distribution. If you enter

randnorm(2,1)

you might get

2.45598713143

Previous Up Next