Getting a warning while finding an inverse
이전 댓글 표시
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
2022년 8월 28일
Use A\b instead of b*inv(A)
답변 (1개)
Pourya Alinezhad
2013년 6월 10일
0 개 추천
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...
카테고리
도움말 센터 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!