Version:

Computes the matrix exponential using the Pade approximation. National Instruments recommends that you use the expmx function instead.

Syntax

c = expmx_pade(a)
Legacy name: expmdemo1

a

Square matrix.

c

Matrix exponential using the Pade approximation of a. c is a square matrix.

C = diag([1, 0, -1])
D-E