This solution is outdated. To rescore this solution, sign in.
-
2 Comments
uuyanik
on 11 Aug 2013
1e-3 is required since there is a MATLAB bug which makes the last "a" slightly (1e-15) less than 0.01
David Verrelli
on 27 Sep 2017
Not a MATLAB bug, an inherent problem with representing decimals on a binary system.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!