how to actually use lyap(A,Q)

37 visualizaciones (últimos 30 días)
Sung-Wook Lee
Sung-Wook Lee el 28 de Jun. de 2020
Respondida: Fernando Duarte López el 1 de Abr. de 2021
So, lyap(A,Q) finds the 'solution' of Lyapunov equation A(transpose)*P + P*A + Q = 0, where P and Q are positive semi-definite.
But how are we actually able to specify Q? I thought in reality, we are trying to find a Lyapunov 'candidate' rather than a solution, where P abd Q that is positive semi-definite, not that we already know the value of Q.
Any insights on this would very much be appreciated.
  2 comentarios
Komal Rajana
Komal Rajana el 17 de Jul. de 2020
try:
A=[1 2;-3 -4];
Q=[3 1;1 1];
% A*x+x*A'+Q==0
x = lyap(A,Q);
Sung-Wook Lee
Sung-Wook Lee el 19 de Jul. de 2020
Thanks for the comment, Komal. But the question is basically asking practical use of this lyap function where Q and P are solution candidate, not a given matrix.

Iniciar sesión para comentar.

Respuestas (1)

Fernando Duarte López
Fernando Duarte López el 1 de Abr. de 2021
I have always used the identity matrix as Q.

Categorías

Más información sobre Matrix Computations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by