フィルターのクリア

why do when I perform subtraction of two the same matrices is very small results, generally is 1e-016

1 回表示 (過去 30 日間)
when I perform subtraction of two the same matrices is very small results, generally is 1e-016, what can i do, If the result less than 0.00001 is return zero.

採用された回答

Iain
Iain 2013 年 6 月 24 日
result(abs(result)<0.00001) = 0;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by