Method on @sym: ei (x)

Symbolic exponential integral (Ei) function.

Definition and example:

syms x
f = ei(x)
  ⇒ f = (sym) Ei(x)
rewrite(f, 'Integral')         % doctest: +SKIP
  ⇒ (sym)
      x
      ⌠
      ⎮   t
      ⎮  ℯ
      ⎮  ── dt
      ⎮  t
      ⌡
      -∞

(Note rewriting as an integral is not yet supported.)

Other examples:

diff(f)
  ⇒ (sym)
       x
      ℯ
      ──
      x

See also: @sym/expint.

Package: symbolic