Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Warning: Matrix is singular to working precision.

  1. Apr 13, 2010 #1
    Hello

    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.

    Thanks,
    Mike
     
  2. jcsd
  3. Apr 13, 2010 #2

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    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?
     
  4. Apr 13, 2010 #3
    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!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Similar Discussions: Warning: Matrix is singular to working precision.
Loading...