Singular matrix and MATLAB inversion
古いコメントを表示
How come that det(A) = 0, and yet MATLAB computes the inverse of A (i.e inv(A) is computed without any warnings).
Where A is a square symmetric matrix.
Thanks !
3 件のコメント
Adam
2019 年 6 月 11 日
You haven't shown us what A is and I don't have time to guess!
Shivam Sharma
2020 年 9 月 26 日
let's say A = [1 2 3; 4 5 6; 7 8 9]
Bruno Luong
2020 年 9 月 26 日
@Sharma I get the warning wth your matrix, so it's not a valide example
>> A = [1 2 3; 4 5 6; 7 8 9]:
>> inv(A)
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 2.202823e-18.
ans =
1.0e+16 *
0.3153 -0.6305 0.3153
-0.6305 1.2610 -0.6305
0.3153 -0.6305 0.3153
採用された回答
その他の回答 (1 件)
Bjorn Gustavsson
2019 年 6 月 11 日
0 投票
Are you absolutely sure you haven't turned off the warnings, in your startup.m or elsewhere?
カテゴリ
ヘルプ センター および File Exchange で Linear Algebra についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!