MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
You can use the
to compute matrix exponentials
For example, compute the matrix exponential for the following square
matrix, and then simplify the result:
A := matrix([[0, 1], [-1, 0]]): simplify(exp(A*t))
Now, compute the matrix exponential for the following matrix. Simplify the result:
B := matrix(2, 2, [0, 2, 2, 0]): simplify(exp(B*x))