FUNCTION REFERENCE

exppdf

Exponential probability density function.

Exponential probability density function.

Syntax

Y = exppdf(X, MU)

Evaluates the probability density of the exponential distribution with MEAN MU > 0 (default 1; the rate is 1/MU) at X. 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

exppdf(1.5, 2)

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