Getting a warning while finding an inverse

3 ビュー (過去 30 日間)
faa nad
faa nad 2013 年 6 月 10 日
コメント済み: Alireza Mehrabi 2022 年 8 月 28 日
Dear Sir/Madam,
I am getting a warning while finding an inverse of a matrix as follows: Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.024137e-017 how to resolve it?
  1 件のコメント
Alireza Mehrabi
Alireza Mehrabi 2022 年 8 月 28 日
Use A\b instead of b*inv(A)

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

回答 (1 件)

Pourya Alinezhad
Pourya Alinezhad 2013 年 6 月 10 日
your matrix is singular.it means that it's determinant is close to zero or actually zero.or even perhaps if you are sure that it's non-singular ,round off errors may result this warning.. check your matrix to see if it's invertible or not...

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by