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.
引用格式
Thomas Winiecki (2026). Complex scaled complementary error function (https://ww2.mathworks.cn/matlabcentral/fileexchange/12091-complex-scaled-complementary-error-function), MATLAB Central File Exchange. 检索时间: .
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 | Added keyword. |
