zetaf(z)
w=zetaf(z) is the plasma dispersion function , which also is based on
The Faddeeva or Kramp function . The Faddeeva or Kramp function
is defined as:
Faddeeva(z)=exp(-z^2)erfcx(z)
where erfcx(z)=erfc(-iz) which is the complex complementary error
function. And the general plasma dispersion function has the relationship
of Faddeeva function:
w=zetaf(z)=i \sqrt(pi) Faddeeva(z).
This algorithm is based on the work:
Mofreh R. Zaghloul and Ahmed N. Ali, "Algorithm 916: Computing the Faddeyeva and Voigt Functions," ACM Trans. Math. Soft. 38 (2), 15 (2011).
Cite As
wang qing (2026). zetaf(z) (https://nl.mathworks.com/matlabcentral/fileexchange/50814-zetaf-z), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: The Voigt/complex error function (second version)
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.3.0.0 | updata a figure of the contours of Multi-Ion acoustic wave dispersion by this code |
||
| 1.2.0.0 | I find an error in this code: n=20+max(ceil(abs(x/a))) is suitable for a vector 'x' (z=x+iy) but may be wrong for a matrix 'x'. So I change this: x1=x(:);n=20+max(ceil(abs(x/a))) which is suitable for any dimensional matrix. |
||
| 1.1.0.0 | update the description |
||
| 1.0.0.0 |
