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

erf (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 = erf(x)

Description

Computes the error function associated with a normal distribution.

Examples

Inputs

Name Description
x Specifies the upper limit for integration. x is a real scalar, vector, or matrix.

Outputs

Name Description
y Returns the value of the integral of exp(-s^2)/(2*sqrt(pi)) in the interval [0, x].

Details

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

% Compute the error function at 1.386:
Y = erf(1.386)
% Plot the error function:
X = 0:0.01:3;
Y = erf(X);
plot(X, Y)

Related Topics

erfc


 

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