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).
Citation pour cette source
wang qing (2026). zetaf(z) (https://fr.mathworks.com/matlabcentral/fileexchange/50814-zetaf-z), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : The Voigt/complex error function (second version)
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 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 |
