p = betacdf(x, a, b)
p = betacdf(x, a, b, 'upper')
| Parameter | Description |
|---|---|
| x | real numeric array. |
| a | positive first shape parameter. |
| b | positive second shape parameter. |
| Parameter | Description |
|---|---|
| p | cumulative probabilities or upper-tail probabilities. |
betacdf computes lower-tail beta probabilities by default and upper-tail probabilities with 'upper'.
x = [0 0.1 0.5 0.9 1];
p = betacdf(x, 2, 5);
q = betacdf(x, 2, 5, 'upper');
| Version | Description |
|---|---|
| 2.0.0 | initial version |