Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

Iain
Iain le 24 Juin 2013
result(abs(result)<0.00001) = 0;

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by