フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

"CHOL" function inconsistent results?

2 ビュー (過去 30 日間)
Mohamed Selim
Mohamed Selim 2013 年 10 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi,
I'm trying to perform Cholesky decomposition for Matrix 'A' (size 3652x3652), when I use:
isequal(A,A')
I get '1' as answer, so it is symmetric.
When I use:
[L,p] = chol(A)
I get p = 0 , so it is Positive Definite, & 'L' is Upper triangle matrix (size 3652x3652),
But when I use:
[L,p] = chol(A, 'lower')
I get p = 190 !! , and 'L' is Lower triangle matrix (size 189x189) !!,
I am confused, is 'A' Positive definite or not??
I know that chol(A, 'lower') will analyze the lower triangle of 'A', and chol(A, 'upper') will analyze the upper triangle of 'A',
but since 'A' is Symmetric so the upper triangle is the same as the lower triangle (Am I right?).
Any suggestions??
Thanks

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by