erfinv
Inverse error function
Syntax
erfinv(x)
Description
erfinv(
returns theInverse Error Functionevaluated for each element ofx
)x
. For inputs outside the interval[-1 1]
,erfinv
returnsNaN
.
Examples
Input Arguments
More About
Tips
For expressions of the form
erfinv(1-x)
, use the complementary inverse error function误差补函数inv
instead. This substitution maintains accuracy. Whenx
is close to1
, then1 - x
is a small number and may be rounded down to0
. Instead, replaceerfinv(1-x)
with误差补函数inv(x)
.
Extended Capabilities
Introduced before R2006a
Was this topic helpful?