Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 5.872930e-17.

2 ビュー (過去 30 日間)
Murali Krishna AG
Murali Krishna AG 2021 年 2 月 4 日
回答済み: Jan 2021 年 2 月 5 日
Let A=80*80 matrix
I want to generate inverse of the above matrix and I am getting the warning as "Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 5.872930e-17".
Pls help me
  3 件のコメント
Murali Krishna AG
Murali Krishna AG 2021 年 2 月 4 日
In my program I use inverse of the matrix like below. But getting this error "Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 5.872930e-17".
a = inv(matrix);
The result of inverse matrix has to be used in my program
Mathieu NOE
Mathieu NOE 2021 年 2 月 5 日
hi
the issue is to make sure that this square matrix can be inverted - so how is this matrix generated ?

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

回答 (1 件)

Jan
Jan 2021 年 2 月 5 日
The error message tells you, that your matrix is near to be singular. Then it cannot be converted reliably, because the result is dominated by rounding errors.
This means, that there is a mathematical problem, which is not related to Matlab.

カテゴリ

Help Center および File ExchangeFeature Detection and Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by