zetaf(z)

Version 1.3.0.0 (1.65 KB) by wang qing
The plasma dispersion function ( Algorithm 916 based)
287 Downloads
Updated 13 May 2015

View License

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 (2024). zetaf(z) (https://www.mathworks.com/matlabcentral/fileexchange/50814-zetaf-z), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Special Functions in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
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