David
Farruggio

MathGenie

expm

Matrix exponential

Syntax and Description

expm(X) computes the matrix exponential of X. Although it is not computed this way, if X has a full set of eigenvectors V with corresponding eigenvalues D, then
[V,D] = eig(X)
and
expm(X) = V*diag(exp(diag(D)))/V.
Use exp for the element-by-element exponential.

Back to functions