Complex scaled complementary error function

Function computes the complex scaled complementary error function.

You are now following this Submission

Matlab provides the function erfcx which computes a scaled error function. However, the input argument must be real. This function computes the values of the Fadeeva function for complex inputs.

Note that W(i*x) = erfcx(x) for real-values x.

An error flag is set if the algorithm does not converge.

The algorithm is taken from the work published in TRANSACTIONS ON MATHEMATICAL SOFTWARE, VOL. 16, NO. 1, PP. 47.

Cite As

Thomas Winiecki (2026). Complex scaled complementary error function (https://uk.mathworks.com/matlabcentral/fileexchange/12091-complex-scaled-complementary-error-function), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Added keyword.