zetaf(z)

Versión 1.3.0.0 (1,65 KB) por wang qing
The plasma dispersion function ( Algorithm 916 based)
312 Descargas
Actualizado 13 may 2015

Ver licencia

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).

Citar como

wang qing (2025). zetaf(z) (https://la.mathworks.com/matlabcentral/fileexchange/50814-zetaf-z), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2008b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Special Functions en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: The Voigt/complex error function (second version)

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
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