gammainc
Lower incomplete gamma function (regularized).
Syntax
Section titled “Syntax”v = gammainc(x, a, scaled)Description
Section titled “Description”Returns the regularized lower incomplete gamma function P(a, x) = γ(a, x) / Γ(a). With scaled = false, returns the unregularized form γ(a, x).
Example
Section titled “Example”gammainc(1, 2) % ≈ 0.264See also
Section titled “See also”gamma— Gamma function Γ(x).gammaincinv— Inverse of the regularized incomplete gamma function.