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