Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Accepted Answer

Iain
Iain on 24 Jun 2013
result(abs(result)<0.00001) = 0;

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!