Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by