Member of the linalgebra class.
c = expm1(a)
Computes the matrix exponential using the Pade approximation. National Instruments recommends that you use the expm function instead.
| Name | Description |
| a | Specifies a square matrix. |
| Name | Description |
| c | Returns the matrix exponential, using the Pade approximation, of a. c is a square matrix. |
C = diag([1, 0, -1])
D = expm1(C)
E = expm(C)
D-E