Creat a positive definite matrix, which way is better?

1 Ansicht (letzte 30 Tage)
Ming
Ming am 12 Jan. 2016
Kommentiert: Matt J am 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

Akzeptierte Antwort

Matt J
Matt J am 12 Jan. 2016
Bearbeitet: Matt J am 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 Kommentare
Ming
Ming am 12 Jan. 2016
Thanks a lot! By the way, does this numerical problem/hazard have a formal name?
Matt J
Matt J am 12 Jan. 2016
No, not that I know of.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by