Errors while solving an inverted matrix in Matlab


by jen0leb
Tags: excel, inverse matrix, matlab, regression analysis
jen0leb
jen0leb is offline
#1
Mar16-12, 04:03 AM
P: 6
Hey,
i've been trying to find a better fit for a correlation, the numbers i'm dealing with are really small and when i try to solve for the coefficients using the inverse function on the matrices in Matlab i get this error:

Warning: Matrix is close to singular or badly scaled. Results
may be inaccurate. RCOND = 5.541639e-25.

I tried solving the inverted matrix in excel and the results didn't make much sense either! is there an other way to solve this problem? I really can't solve it by hand it'll take me ages.

i'm open to any suggestion...

J.
Phys.Org News Partner Science news on Phys.org
NASA's space station Robonaut finally getting legs
Free the seed: OSSI nurtures growing plants without patent barriers
Going nuts? Turkey looks to pistachios to heat new eco-city
Stephen Tashi
Stephen Tashi is online now
#2
Mar21-12, 11:27 AM
Sci Advisor
P: 3,175
Quote Quote by jen0leb View Post
is there an other way to solve this problem?
You might have better luck if you stated the problem you are trying to solve rather than making the problem "How do I numerically invert a nearly singular matrix?".

If the problem is going to be "How do I numerically invert a nearly singular matrix?" then this link might help.http://www.mathworks.com/matlabcentr..._thread/157000 It suggests using a pseudo-inverse instead of an inverse.


Register to reply

Related Discussions
Matlab matrix bar graph with errors Math & Science Software 1
MATLAB/Simulink - inverted pendulum swing-up problem Math & Science Software 0
[MATLAB] matrix solving question Programming & Computer Science 0
Matlab- solving odes for a matrix Math & Science Software 0
Solving a matrix valued ODE using dsolve in Matlab? Math & Science Software 0