expm
Matrix exponential of symbolic matrices
Syntax
Description
computes the matrix exponential of the square symbolic
matrix R
= expm(A
)A
.
Examples
Matrix Exponential
Compute the matrix exponential for the 2-by-2 matrix and simplify the result.
syms x A = [0 x; -x 0]; simplify(expm(A))
ans = [ cos(x), sin(x)] [ -sin(x), cos(x)]
Input Arguments
Output Arguments
More About
Version History
Introduced before R2006a