normrnd
Random arrays from the normal distribution.
r = normrnd (mu, sigma)
returns an array of random
numbers chosen from the normal distribution with mean mu and standard
deviation sigma. The size of r is the common size of mu
and sigma. A scalar input functions as a constant matrix of the same
size as the other inputs. Both parameters must be finite real numbers and
sigma > 0, otherwise NaN is returned.
When called with a single size argument, normrnd
returns a square
matrix with the dimension specified. When called with more than one scalar
argument, the first two arguments are taken as the number of rows and columns
and any further arguments specify additional matrix dimensions. The size may
also be specified with a row vector of dimensions, sz.
Further information about the normal distribution can be found at https://en.wikipedia.org/wiki/Normal_distribution
See also: norminv, norminv, normpdf, normfit, normlike, normstat
Source Code: normrnd