Faddeeva function (FFT based)
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 (2024). Faddeeva function (FFT based) (https://www.mathworks.com/matlabcentral/fileexchange/22207-faddeeva-function-fft-based), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms > Fast Fourier Transforms >
- MATLAB > Mathematics > Elementary Math > Special Functions > Error Functions >
Tags
Acknowledgements
Inspired by: Complex scaled complementary error function
Inspired: Tracey Peaker, Coherent+Spontaneous Rayleigh-Brillouin Scattering Spectra
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.