Skip to Main Content Skip to Search
Product Documentation

erfinv - Inverse error function

Syntax

X = erfinv(Y)

Description

X = erfinv(Y) returns the value of the inverse error function for each element of Y. Elements of Y should be in the interval [-1 1] or the function will return NaN. The function erfinv satisfies y = erf(x) for −1 ≤ y ≤ 1 and −∞ ≤ x ≤ ∞.

Examples

erfinv(1) is Inf

erfinv(-1) is -Inf.

See Also

erf | erfc | erfcinv | erfcx

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS