Main Content

Exponential cumulative distribution function

`___ = expcdf(___,'upper')`

returns the
complement of the cdf, evaluated at the values in `x`

, using an
algorithm that more accurately computes the extreme upper-tail probabilities than
subtracting the lower tail value from 1. `'upper'`

can follow any of the
input argument combinations in the previous syntaxes.

`expcdf`

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

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

, 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`expcdf`

is faster than the generic function`cdf`

.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.