Creat a positive definite matrix, which way is better?

1 visualización (últimos 30 días)
Ming
Ming el 12 de En. de 2016
Comentada: Matt J el 12 de En. de 2016
Hi everyone,
Suppose I have a positive definite matrix P and a non-singular matrix A, I realised there is a small numerical difference between K=(I-A)*P*(I-A)' and K_=P-A*P-P*A'+A*P*A'. If I want to create a positive definite matrix, which way should I use?
In some extreme cases, is it possible that K or K_ has very small negative eigenvalues?
Thanks

Respuesta aceptada

Matt J
Matt J el 12 de En. de 2016
Editada: Matt J el 12 de En. de 2016
Yes, if A has eigenvalues close to 1, then I believe neither K nor K_ will be positive definite with numerical robustness.
  4 comentarios
Ming
Ming el 12 de En. de 2016
Thanks a lot! By the way, does this numerical problem/hazard have a formal name?
Matt J
Matt J el 12 de En. de 2016
No, not that I know of.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by