Clear Filters
Clear Filters

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

2 views (last 30 days)
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 Comments
Murali Krishna AG
Murali Krishna AG on 4 Feb 2021
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 on 5 Feb 2021
hi
the issue is to make sure that this square matrix can be inverted - so how is this matrix generated ?

Sign in to comment.

Answers (1)

Jan
Jan on 5 Feb 2021
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.

Community Treasure Hunt

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

Start Hunting!