¿Qué significa la matriz que devuelve la función chol(A), si A es definida positiva pero no es simétrica?

2 次查看(过去 30 天)
A=[4 2;1 3];
chol(A)
ans =
2.0000 1.0000
0 1.4142

采纳的回答

Walter Roberson
Walter Roberson 2023-9-28
"If A is nonsymmetric, then chol treats the matrix as symmetric and uses only the diagonal and upper triangle of A."

更多回答(1 个)

Torsten
Torsten 2023-9-28
编辑:Torsten 2023-9-28
From the documentation:
If A is nonsymmetric, then chol treats the matrix as symmetric and uses only the diagonal and upper triangle of A.
Thus in your case it works with the matrix A' = [4 2;2 3].
A = [4 2;2 3]
A = 2×2
4 2 2 3
chol(A)
ans = 2×2
2.0000 1.0000 0 1.4142

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by