pout = nbincdf(x, r, p)
pout = nbincdf(x, r, p, 'upper')
| Parameter | Description |
|---|---|
| x | real numeric array: number of failures. |
| r | positive scalar or array: number of successes. |
| p | scalar or array in the range [0, 1]: success probability. |
| Parameter | Description |
|---|---|
| pout | cumulative probabilities. |
nbincdf computes cumulative probabilities for the negative binomial distribution.
x = 0:5;
pout = nbincdf(x, 3, 0.4);
| Version | Description |
|---|---|
| 2.0.0 | initial version |