Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

beta_incomplete (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: advanced

Requires: MathScript RT Module

Syntax

y = beta_incomplete(x, a, b)

Legacy Name: betainc

Description

Computes the incomplete beta function of the input elements.

Details

Examples

Inputs

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.

Outputs

Name Description
y Returns the incomplete beta function. y is a matrix of the same size as x, a, and b.

Details

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

Examples

X = 0:0.01:0.9;
A = 0.5;
B = 0.7;
Y = beta_incomplete(X, A, B);
plot(X, Y)

Related Topics

beta
beta_ln


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit