Owning Class: advanced
Requires: MathScript RT Module
y = erf_inv(x)
Legacy Name: erfinv
Computes the inverse of the error function associated with a normal distribution. y = erf_inv(x) is equivalent to x = erf(y).
| Name | Description |
|---|---|
| x | Specifies error function values. x is a real matrix with elements in the interval [-1, 1]. |
| Name | Description |
|---|---|
| y | Returns the value of the inverse error function of x. |
% Compute the inverse error function at 0.386:
Y = erf_inv(0.386)
% Show the form of the inverse error function:
X = 0:0.01:0.9;
Y = erf_inv(X);
plot(X, Y)