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 CenterFile Exchange 中查找有关 Elementary Math 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by