Hello,
Apologies if I'm doing something stupid, but could someone please explain why 0.1+0.2-0.3 apparently equals 5.5511e-017?
If this is confirmed, I find it quite worrying, so are there other such "features" that may be quietly affecting my results without me being aware of them?
Many thanks, Jon.

 채택된 답변

Sean de Wolski
Sean de Wolski 2011년 7월 7일

0 개 추천

stupid, no; common, yes.
In fact this is the most frequently asked question on here and CSSM.

댓글 수: 2

Jon
Jon 2011년 7월 7일
Many thanks, I missed previous mentions of this. Glad it's not just me!
Sean de Wolski
Sean de Wolski 2011년 7월 7일
You're welcome; welcome to MATLAB Answers!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

Jon
2011년 7월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by