Inversion of ill Contioned Matrices

In my code I have to take inversion of matrices at a certain point. When I am trying to take the inverse of ill conditioned matrices, I am getting a weird result.
Can anyone suggest me a method about how to take inversion of ill conditioned matrices. Thanks in advance.

Réponses (1)

Matt Fig
Matt Fig le 19 Fév 2011

0 votes

You could try scaling, or using PINV. However, I hope you are not taking the inverse of a matrix in order to solve a system of linear equations. If so, try backslash instead. It is much faster.
Ax = b % If this is the equation, the following are ways of solving it.
x = A\b = inv(A)*b % The \ operation is much preferred.

Question posée :

le 19 Fév 2011

Community Treasure Hunt

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

Start Hunting!

Translated by