Grnd-func
The grnd() function returns a scalar value from a normally (Gaussian) distributed sample, with zero mean and unit standard deviation. The initial value returned, and the sequence of values, are the same for each Origin session.
No argument is needed. To obtain a random number from a normal distribution with mean = m and standard deviation = sd, use
grnd()*sd+m
double grnd()
Returns a value from a normally (Gaussian) distributed sample, with zero mean and unit standard deviation.
col(A)[1] = grnd();