Gamma cumulative distribution function

`___ = gamcdf(___,'upper')`

returns the
complement of the cdf, evaluated at the values in `x`

, using an
algorithm that more accurately computes the extreme upper-tail probabilities than
subtracting the lower tail value from 1. `'upper'`

can follow any of the
input argument combinations in the previous syntaxes.

`gamcdf`

is a function specific to the gamma distribution. Statistics and Machine Learning Toolbox™ also offers the generic function`cdf`

, which supports various probability distributions. To use`cdf`

, create a`GammaDistribution`

probability distribution object and pass the object as an input argument or specify the probability distribution name and its parameters. Note that the distribution-specific function`gamcdf`

is faster than the generic function`cdf`

.Use the

**Probability Distribution Function**app to create an interactive plot of the cumulative distribution function (cdf) or probability density function (pdf) for a probability distribution.

`cdf`

| `gamfit`

| `gaminv`

| `gamlike`

| `gamma`

| `GammaDistribution`

| `gampdf`

| `gamrnd`

| `gamstat`