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

erf (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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

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