weideyong8 发表于 2011-4-28 21:05

求解决这个警告!Matrix is close to singular or badly scaled.

inv(M1)%输入这个命令 提示警告,怎么解决啊
Warning: Matrix is close to singular or badly scaled.
         Results may be inaccurate. RCOND = 2.308810e-022.
为什么会这样啊?

hancy 发表于 2011-5-3 14:55

help inv
INV    Matrix inverse.
    INV(X) is the inverse of the square matrix X.
    A warning message is printed if X is badly scaled or
    nearly singular.
是你矩阵的问题,接近奇异或严重结垢

hancy 发表于 2011-5-3 15:07

可能需要归一化等方法解决,或者求广义逆。
另:http://www.mathworks.cn/matlabcentral/newsreader/view_thread/294643


ChaChing 发表于 2011-5-4 00:10

Matrix is close to singular or badly scaled
http://www.mathworks.com/matlabcentral/newsreader/view_thread/170919
http://groups.google.com/group/comp.soft-sys.matlab/browse_thread/thread/f640ae64aa62fbe6
http://dmpeli.mcmaster.ca/Matlab/Math1J03/LectureNotes/Lecture2_4.htm
from http://forum.vibunion.com/home-space-uid-63979-do-blog-id-18250.html
页: [1]
查看完整版本: 求解决这个警告!Matrix is close to singular or badly scaled.