image thumbnail

Faddeeva function (FFT based)

version (2.05 KB) by Kesh Ikuma
Faddeeva function, aka plasma dispersion function


Updated 19 Feb 2009

View License

W = FADDEEVA(Z) is the Faddeeva function, aka the plasma dispersion function, for each element of Z. The Faddeeva function is defined as:

w(z) = exp(-z^2) erfc(-jz)

where erfc(x) is the complex complementary error function.

This code is a modified version of the code listed in:

J.A.C. Weideman, "Computation of the Complex Error Function," SIAM J. Numerical Analysis, pp. 1497-1518, No. 5, Vol. 31, Oct., 1994 Available Online:

Cite As

Kesh Ikuma (2022). Faddeeva function (FFT based) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!