Statistics Toolbox
  Go to function:
    Search    Help Desk 
exprnd    Examples

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. 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. The scalars m and n are the row and column dimensions of R.

Examples



[ Previous | Help Desk | Next ]