Statistics Toolbox    
exppdf

Exponential probability density function (pdf)

Syntax

Description

exppdf(X,MU) computes the exponential pdf at each of the values in X using the corresponding parameters in MU. Vector or matrix inputs for X and MU must be the same size. A scalar input is expanded to a constant matrix with the same dimensions as the other input. The parameters in MU must be positive.

The exponential pdf is

The exponential pdf is the gamma pdf with its first parameter equal to 1.

The exponential distribution is appropriate for modeling waiting times when the probability of waiting an additional period of time is independent of how long you've already waited. For example, the probability that a light bulb will burn out in its next minute of use is relatively independent of how many minutes it has already burned.

Examples

See Also

expcdf, expfit, expinv, exprnd, expstat, pdf


  expinv exprnd