next up previous contents
Next: EI Exponential Integral Function Up: Mathematical Functions Previous: EXPEI Exponential Weighted Integral   Contents

Subsections

EONE Exponential Integral Function

Usage

Computes the exponential integral function for real arguments. The eone function takes only a single argument

  y = eone(x)

where x is either a float or double array. The output vector y is the same size (and type) as x.

Function Internals

The eone function is defined by the integral:

$\displaystyle \mathrm{eone}(x) = \int_{x}^{\infty} \frac{e^{-u} du}{u}.
$

Example

Here is a plot of the eone function over the range [-5,5].

--> x = linspace(-5,5);
--> y = eone(x);
--> plot(x,y); xlabel('x'); ylabel('eone(x)');

which results in the following plot.

3355



Samit K. Basu 2005-03-16