Creat a positive definite matrix, which way is better?

5 vues (au cours des 30 derniers jours)
Ming
Ming le 12 Jan 2016
Commenté : Matt J le 12 Jan 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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by