Warning: Matrix is singular to working precision.

by mikeph
Tags: matrix, precision, singular, warning, working
mikeph is online now
Apr13-10, 05:55 AM
P: 1,205

I am generating a matrix which is coming up with this warning.

I know the matrix elements are correct though, as I put them in. But when I work with the matrix, the results don't make sense. I presume this warning is the reason.

Can anyone help? I don't understand why MATLAB can't just store the data I put in it properly. It is in the range 10^1 - 10^12. Is it just working to a single power and losing all the data which does not appear in the decimal representation? (rather than storing the exponent).

I don't understand how it works or how to work around this.

Phys.Org News Partner Science news on Phys.org
Cougars' diverse diet helped them survive the Pleistocene mass extinction
Cyber risks can cause disruption on scale of 2008 crisis, study says
Mantis shrimp stronger than airplanes
HallsofIvy is online now
Apr13-10, 06:07 AM
Sci Advisor
PF Gold
P: 38,894
It's not clear to me why you think MATLAB is NOT storing the data you put in. A matrix will be "singular to working precision" if its determinant is less than that precision. What is the determinant of your matrix?
mikeph is online now
Apr13-10, 06:26 AM
P: 1,205
It is not square.

Perhaps this is not the reason I am getting an error later on, it just seems to be a good candidate for investigation!

Register to reply

Related Discussions
Singular values of a matrix times a diagonal matrix Linear & Abstract Algebra 1
Singular Matrix AB and/or BA Calculus & Beyond Homework 1
singular matrix Introductory Physics Homework 5
Numeric precision with iterative matrix rotations Computing & Technology 5
singular matrix ???? General Math 1