Problem decimals operations Matlab
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi!
I have a small problem on Matlab, while adding simple decimal numbers. It turns out that a small residual number appears:
t = [0.3 0.6 0.9];
t(1) + t(2) - t(3)
ans =
-1.110223024625157e-16
How could I solve this?
Thanks!
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!