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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by