erfcx
Scaled complementary error function
Syntax
Description
erfcx( returns the
value of the Scaled Complementary Error Function for each element of x)x.
Use the erfcx function to replace expressions
containing exp(x^2)*erfc(x) to avoid underflow
or overflow errors.
Examples
Input Arguments
More About
Tips
For expressions of the form
exp(-x^2)*erfcx(x), use the complementary error functionerfcinstead. This substitution maintains accuracy by avoiding roundoff errors for large values ofx.
Extended Capabilities
Version History
Introduced before R2006a