Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
A=[4 2;1 3];
chol(A)
ans =
2.0000 1.0000
0 1.4142
  1 comentario
Walter Roberson
Walter Roberson el 28 de Sept. de 2023
Approximate translation:
What does the matrix returned by the function chol(A) mean if A is positive definite but not symmetric?

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (1)

Torsten
Torsten el 28 de Sept. de 2023
Editada: Torsten el 28 de Sept. de 2023
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

Categorías

Más información sobre Mathematics and Optimization en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by