1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Singular matrix ?

  1. Apr 21, 2004 #1
    singular matrix ????

    Hi, guys,

    < in matlab >
    what should i do if i want to get the inverse matrix but it's a singular one? can i just add a very small identity matrix like 0.00005 on the diagnol? will it change the result?


    w0 = S\meandiff

    is that the same as

    w0 = ( S+0.00005*eye( size( S ) ) )\meandiff

  2. jcsd
  3. Apr 22, 2004 #2
    Usually if you get a singular matrix, you screwed up somewhere before the inverting step.

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook