FUNCTION REFERENCE

expint

Exponential integral E1.

Exponential integral E1.

Syntax

Y = expint(X)

E1(X) = integral from X to Inf of exp(-t)/t for real or complex X. Negative real X gives -Ei(-X) - i*pi. As in MATLAB, expint(Inf) is NaN and expint(NaN) is 0.

Example

expint(1)   % 0.2194

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.