Getting a warning while finding an inverse
Mostrar comentarios más antiguos
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 comentario
Alireza Mehrabi
el 28 de Ag. de 2022
Use A\b instead of b*inv(A)
Respuestas (1)
Pourya Alinezhad
el 10 de Jun. de 2013
0 votos
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...
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!