Azzera filtri
Azzera filtri

Creat a positive definite matrix, which way is better?

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Matt J
Matt J il 12 Gen 2016
Modificato: Matt J il 12 Gen 2016
Yes, if A has eigenvalues close to 1, then I believe neither K nor K_ will be positive definite with numerical robustness.
  4 Commenti
Ming
Ming il 12 Gen 2016
Thanks a lot! By the way, does this numerical problem/hazard have a formal name?

Accedi per commentare.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by