exprnd
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, exprnd
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.
A common alternative parameterization of the exponential distribution is to use the parameter defined as the mean number of events in an interval as opposed to the parameter , which is the mean wait time for an event to occur. and are reciprocals, i.e. .
Further information about the exponential distribution can be found at https://en.wikipedia.org/wiki/Exponential_distribution
See also: expcdf, expinv, exppdf, expfit, explike, expstat
Source Code: exprnd