Statistics Toolbox    
exprnd

Random numbers from the exponential distribution

Syntax

Description

R = exprnd(MU) generates exponential random numbers with mean MU. The size of R is the size of MU.

R = exprnd(MU,m) generates exponential random numbers with mean MU, where m is a 1-by-2 vector that contains the row and column dimensions of R.

R = exprnd(MU,m,n) generates exponential random numbers with mean MU, where scalars m and n are the row and column dimensions of R.

Examples

See Also

expcdf, expfit, expinv, exppdf, expstat


  exppdf expstat