Dynamical Systems

(Author: Jorge Finke)

Finds a solution x of the matrix Lyapunov equation AP + PA’ a . x + x . a†  == c\)

Clear All; 
A={{1,3},{2,1}};
LyapunovSolve[A,{{-1,0},{0,-1}}]