Generates beta distribution cumulative density function values at specified locations. |
||
Syntax |
CDF = BetaCDF(Points, a, b) |
|
Arguments |
Name |
Description |
Points |
A scalar, vector, or matrix of points where the cumulative density function is to be evaluated. The output is zero to the left of 0 and one to the right of 1. |
|
a |
First shape parameter. A positive scalar. |
|
b |
Second shape parameter. A positive scalar. |
|
Outputs |
Name |
Description |
CDF |
A scalar, vector, or matrix of the cumulative density function values at the given points. The same size as Points. |
|
Example |
Find the beta cumulative density function at points 0.1, 0.3, and 0.8 with parameters a = 2 and b = 5. |
|
Syntax |
||
cdf = BetaCDF([0.1,0.3,0.8],2,5) |
||
Results |
||
cdf = 0.11427 0.57983 0.9984 |
||
See Also: |