登录论坛

查看完整版本 : [求助]Mathematical求逆矩阵


wutflash
2008-10-23, 21:52
我在用Mathematical求逆矩阵,其中会出现这样的问题:

Inverse::luc: Result for Inverse of badly conditioned matrix \
{{-1.44748*10^8-1.19123*10^7*i,<<9>>,<<56>>},{0.29414+0.0060485 *i,<<9>>,<<56>>},<<7>>,{<<1>>},<<56>>} may contain \
significant numerical errors. >>



我一直不清楚这个是什么意思,是不是说这个矩阵没有逆矩阵啊,
也不知道该怎么解决这个问题,请高手帮忙....谢谢了..

fanmily
2008-11-04, 03:06
很可能是因为你在计算中使用了machine-precision的数值, 所以Mathematica说无法返回一个精确的结果. 你可以试试看使用exact number.比如,在mathematica中,0.1 和1/10 是两个完全不同的数,因为他们的精度不一样.1/10 是一个exact number, 而0.1 不是,因为他在machine precision 以后的数字可能是近似的

wutflash
2008-11-05, 19:36
我输入的数是一个近似值,比如3.12456,计算的肯定也是这样的数,没办法用你说的exact number形式啊.....还有别的办法来调整数据的精度吗...

lifereader
2008-11-09, 09:48
根据error信息得知,原矩阵式一个病态矩阵:矩阵里的元素数量级差别很大