Statistics Toolbox
  Go to function:
    Search    Help Desk 
exppdf    Examples

Exponential probability density function (pdf).

Syntax

Description

exppdf(X,MU) computes the exponential pdf with parameter settings MU at the values in X. The arguments X and MU must be the same size except that a scalar argument functions as a constant matrix of the same size of the other argument.

The parameter MU must be positive.

The exponential pdf is:


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

The exponential distribution is appropriate for modeling waiting times when you think 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



[ Previous | Help Desk | Next ]