|
  
nrand
Format: nrand( mean, std )
Arguments: (real) mean Optional distribution
mean; default = 0
(real) std Optional distribution standard deviation;
default = 1
Returns: (real) Pseudo-random number from a normal
distribution
Description: Nrand generates random numbers that are
drawn from a set with a normal (Gaussian) probability
distribution. The sequence of numbers generated by nrand
has a period that is essentially infinite. Also, there are no
sensible sequential correlations.
Examples: nrand = random
number with a mean of 0 and a standard deviation of 1
nrand(100,10) = random number
with a mean of 100 and a standard deviation of 10, PDF graphed
below
See Also: rand, drand, trand, lrand, brand, prand, grand, betarand, crand, setrand, correlate
|