FUNCTION REFERENCE

normcdf

Normal cumulative distribution function.

Normal cumulative distribution function.

Syntax

Y = normcdf(X, MU, SIGMA)

Syntax

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

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

normcdf(0.5, 0, 1)

Example

normcdf(0.5, 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.