Owning Class: advanced
Requires: MathScript RT Module
c = beta(a, b)
Computes the beta function of the input elements.
| Name | Description |
|---|---|
| a | Specifies a matrix or a scalar number. If b is a matrix, a is a matrix of the same size as b. |
| b | Specifies a matrix or a scalar number. If a is a matrix, b is a matrix of the same size as a. |
| Name | Description |
|---|---|
| c | Returns the beta function. c is a matrix of the same size as a and b. |
When the input elements are scalar, LabVIEW computes beta(a, b) using the following equation: c = integral((t^(a-1))*((1-t)^(b-1)), t, 0, 1).
A = 0:0.01:1;
B = 5;
C = beta(A, B);
plot(A, C)