フィルターのクリア

Inverse of a singular matrix?

6 ビュー (過去 30 日間)
STamer
STamer 2013 年 7 月 24 日
I'm dealing with matrixes and I need to find inverse of them. But unfortunately Matlab has a warning for me.
Warning: Matrix is singular to working precision.
My matrix size are 25*25. It's diagonally dominant. I used "pinv" function however it's not so sufficient. It gives me true results partially. So I'm searching an alternative way to calculate inverse of these matrixes.
Do you have any alternative to "pinv" function?
Thanks and regards.

回答 (1 件)

Jan
Jan 2013 年 7 月 24 日
If the matrix is near to singular, a correctly computed inverse is not likely for numerical and mathematical reasons. Why do you assume that pinv is not sufficient?
The warning is equivalent to the reply of NaN when you divide a number by zero. And here it is also not the division, which is not sufficient, but the values.
  1 件のコメント
STamer
STamer 2013 年 7 月 24 日
"pinv" doesn't give me true results for all matrix elements. It can calculate many of them truly but not all of them. Maybe I should change my input values.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by