IEEE Arithematic
古いコメントを表示
I have a row vector [3 (6-3e)/(2-2e) 1] and a column vector [3 14 -5-((6-3e)/(2-2e))*14]' where e = 1+0.5*10^-15. When I multiply these two vectors I get a 0 and I don't understand why? The second and third product is equal in magnitude but opposite in sign, so they should cancel out and the answer should be close to 9.This is how matlab computes these two vectors:
row vector = [3.000000000000000e+000 -3.377699720527871e+015 1.000000000000000e+000]
column vector = [ 3.000000000000000e+000 1.400000000000000e+001 4.728779608739018e+016]
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で C Shared Library Integration についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!