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

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

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


Resources


 

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