FUNCTION REFERENCE
gammainc
Regularized incomplete gamma function.
Regularized incomplete gamma function.
Syntax
Y = gammainc(X, A)Syntax
Y = gammainc(X, A, tail)P(A, X) for X >= 0 and A >= 0; tail is 'lower' (default), 'upper', 'scaledlower' or 'scaledupper' (the tail divided by X^A*exp(-X)/gamma(A+1)). Negative X gives a complex result, as in MATLAB.
Example
gammainc(1, 2) % 0.2642Differences from MATLAB: double inputs only; single is computed and returned as double.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.