Getting a warning while finding an inverse

6 vues (au cours des 30 derniers jours)
faa nad
faa nad le 10 Juin 2013
Commenté : Alireza Mehrabi le 28 Août 2022
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 commentaire
Alireza Mehrabi
Alireza Mehrabi le 28 Août 2022
Use A\b instead of b*inv(A)

Connectez-vous pour commenter.

Réponses (1)

Pourya Alinezhad
Pourya Alinezhad le 10 Juin 2013
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...

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by