Download Help (Windows Only) |
Owning Class: advanced
Requires: MathScript RT Module
y = beta_incomplete(x, a, b)
Legacy Name: betainc
Computes the incomplete beta function of the input elements.
Name | Description |
---|---|
x | Specifies a matrix or a scalar number. All elements in x must have values between 0 and 1, inclusive. |
a | Specifies a matrix or a scalar number. If x is a matrix, a is a matrix of the same size as x. |
b | Specifies a matrix or a scalar number. If x is a matrix, b is a matrix of the same size as x. |
Name | Description |
---|---|
y | Returns the incomplete beta function. y is a matrix of the same size as x, a, and b. |
When the input elements are scalar, LabVIEW computes beta(x, a, b) using the following equation: y = (1/beta(a, b))*integral((t^(a-1))*((1-t)^(b-1)), t, 0, x).
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | Yes |
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Not characterized |
X = 0:0.01:0.9;
A = 0.5;
B = 0.7;
Y = beta_incomplete(X, A, B);
plot(X, Y)