ysun8@uic.edu
Apr21-04, 08:39 PM
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?
eg:
w0 = S\meandiff
is that the same as
w0 = ( S+0.00005*eye( size( S ) ) )\meandiff
thanks!
< 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?
eg:
w0 = S\meandiff
is that the same as
w0 = ( S+0.00005*eye( size( S ) ) )\meandiff
thanks!