Please how to Matrix Lyapunov equation?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abdelkader Hd
le 23 Mar 2022
Réponse apportée : Sam Chak
le 23 Mar 2022
Hello everyone,
I have one question, please can you tell me how I can solve the Matrix Lyapunov equation using Matlab or Wolfram Mathematica :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/939009/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/939014/image.png)
Thank you.
0 commentaires
Réponse acceptée
Sam Chak
le 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
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Computations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!