Do any of you know a matlab function that computes $A^n$ just like in the following example?
This question arises in response of discrete time state space systems.
Try this:
syms n; A = sym([0 1; -1/6 5/6]); [V,D] = eig(A); An = V*(D^n)*inv(V); pretty(An);
Copyright © 2021 JogjaFile Inc.
Try this: