Function Reference: exprnd

statistics: r = exprnd (mu)
statistics: r = exprnd (mu, rows)
statistics: r = exprnd (mu, rows, cols, …)
statistics: r = exprnd (mu, [sz])

Random arrays from the exponential distribution.

r = exprnd (mu) returns an array of random numbers chosen from the exponential distribution with mean parameter mu. The size of r is the size of mu.

When called with a single size argument, return 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 vector of dimensions sz.

See also: expcdf, expinv, exppdf, expfit, explike, expstat

Source Code: exprnd