This is a code for Octave (probably works in Matlab too), to calculate the Faddeeva function. It is based on code from Matpack, and is basically a conversion from the original C++ to Octave code. The Faddeva function can be used, in turn, to calculate related functions as the complex error function, plasma dispersion function, etc. It accepts complex arguments.

To use it, simply put the script in a directory where Octave can find it, and call it as w=faddeeva(z).

This file is distributed under the GNU General Public License.

Send comments and suggestions.

Version 1.0(5 October 2005)

Homepage Víctor Muñoz
Last modified: Sat Dec 31 05:37:00 JST 2005