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

beta (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

c = beta(a, b)

Description

Computes the beta function of the input elements.

Details

Examples

Inputs

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.

Outputs

Name Description
c Returns the beta function. c is a matrix of the same size as a and b.

Details

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).

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

A = 0:0.01:1;
B = 5;
C = beta(A, B);
plot(A, C)

Related Topics

beta_incomplete
beta_ln


 

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