Actually, I think it is double that is doing the rounding:
>> syms x; 10/3 - subs(10/x,x,3)
ans =
0
>> 10/3 - double(subs(10/x,x,3))
ans =
3.333333333355171e-05
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!