betacdf
Compute beta distribution cumulative distribution function values.
Syntax
p=betacdf(x,a,b)
Inputs
- x
- Values of the distribution random variable.
- a,b
- Shape parameters.
Outputs
- p
- Cumulative probability values.
Examples
Single value betacdf
example:
x = 0.5;
a = 5;
b = 3;
p = betacdf(x,a,b)
p = 0.22656
Vector betacdf
example:
x = [0.1:0.1:0.9];
a = 5;
b = 3;
p = betacdf(x,a,b)
p = [Matrix] 1 x 9
0.0001765 0.004672 0.028796 0.096256 0.22656 0.4199 0.64707 0.85197 0.97431