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

조회 수: 2 (최근 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에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by