image thumbnail

Faddeeva function (FFT based)

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

2.4K Downloads

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: http://www.jstor.org/stable/2158232

Cite As

Kesh Ikuma (2022). Faddeeva function (FFT based) (https://www.mathworks.com/matlabcentral/fileexchange/22207-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!