Method on @sym: expm (A)

Symbolic matrix exponential.

Example:

A = [sym(4) 1; sym(0) 4]
  ⇒ A = (sym 2×2 matrix)
      ⎡4  1⎤
      ⎢    ⎥
      ⎣0  4⎦

expm(A)
  ⇒ (sym 2×2 matrix)
      ⎡ 4   4⎤
      ⎢ℯ   ℯ ⎥
      ⎢      ⎥
      ⎢     4⎥
      ⎣0   ℯ ⎦

See also: @sym/eig.

Package: symbolic