Main Content

Exponential probability density function

`exppdf`

is a function specific to the exponential distribution. Statistics and Machine Learning Toolbox™ also offers the generic function`pdf`

, which supports various probability distributions. To use`pdf`

, create an`ExponentialDistribution`

probability distribution object and pass the object as an input argument or specify the probability distribution name and its parameters. Note that the distribution-specific function`exppdf`

is faster than the generic function`pdf`

.Use the

**Probability Distribution Function**app to create an interactive plot of the cumulative distribution function (cdf) or probability density function (pdf) for a probability distribution.