FUNCTION REFERENCE

logncdf

Lognormal cumulative distribution function.

Lognormal cumulative distribution function.

Syntax

Y = logncdf(X, MU, SIGMA)

Syntax

Y = logncdf(X, MU, SIGMA, 'upper')

P(X' <= X) for the lognormal distribution with MU (default 0) and SIGMA > 0 (default 1), the mean and standard deviation of log(X). 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

logncdf(2, 0, 1)

Example

logncdf(2, 0, 1, '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.