FUNCTION REFERENCE

expcdf

Exponential cumulative distribution function.

Exponential cumulative distribution function.

Syntax

Y = expcdf(X, MU)

Syntax

Y = expcdf(X, MU, 'upper')

P(X' <= X) for the exponential distribution with MEAN MU > 0 (default 1; the rate is 1/MU). With 'upper' it returns P(X' > X), computed directly in that tail so small upper probabilities keep their digits. Every argument may be a scalar or an array; scalars expand to the size of the others, and arrays must have the same size. Parameters outside their domain give NaN; NaN inputs give NaN.

Example

expcdf(1.5, 2)

Example

expcdf(1.5, 2, 'upper')

Differences from MATLAB: the confidence bound outputs are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.