Please how to Matrix Lyapunov equation?

2 views (last 30 days)
Hello everyone,
I have one question, please can you tell me how I can solve the Matrix Lyapunov equation using Matlab or Wolfram Mathematica :
and this differential matrix equation: .
Thank you.

Accepted Answer

Sam Chak
Sam Chak on 23 Mar 2022
You can use the function lyap to compute the solution to the Lyapunov equation. See the following example:
A = [0 1 0; -1 -2 0; 0 1 -1]
D = 2*eye(3)
X = lyap(A, D)
A*X + X*A' % check: should be the same as –D

More Answers (0)

Categories

Find more on Matrix Computations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!