Contents Previous Next Subchapters

The Inverse Error Function
Syntax ierf(y)
See Also erfinv , erf , inormal

Description
Returns the element-by-element inverse of the error function erf . The matrix y is real or double-precision and its elements are between -1 and +1 exclusive.

Example
     ginit
     x = 0. : .01 : .99
     gtitle("Inverse Error Function")
     gplot(x, ierf(x))

returns the following plot:

Mlmode
In Mlmode , this function is automatically included as erfinv instead of ierf. If in Mlmode you enter
     clear
     x = 0. : .01 : .99;
     omgtitle('Inverse Error Function');
     plot(x, erfinv(x));

O-Matrix will draw the plot above.