FUNCTION REFERENCE

gamcdf

Gamma cumulative distribution function.

Gamma cumulative distribution function.

Syntax

Y = gamcdf(X, A, B)

Syntax

Y = gamcdf(X, A, B, 'upper')

P(X' <= X) for the gamma distribution with shape A > 0 and SCALE B > 0 (default 1). With 'upper' it returns P(X' > X), computed directly in that tail so small upper probabilities keep their digits. Parameters without a default are required. 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

gamcdf(2, 3, 1)

Example

gamcdf(2, 3, 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.