lyap

lyap(A,Q)

Solves the Continuous-time Lyapunov equation AP+PA'+Q=0 for P

Try it yourself:

See also:
All functions