Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

beta (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the advanced class.

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

Examples

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

Related Topics

betainc
betaln


Resources


 

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