I feel the OP is also searching for an answer for "How could obtain a 0 as an answer", besides
"Why is myeps not 0". So here is the answer. You'll need the Symbolic Math Toolbox for MATLAB.
You can create symbolic numbers by using sym. Symbolic numbers are
exact representations, unlike floating-point numbers.
So if you type 3*(sym(4)/sym(3)-1)-1
into MATLAB (once you got the toolbox), the answer will be exact
0
Just mind the sym(4)/sym(3)
part. If you try sym(4/3)
, MATLAB will get a floating-point first, then try to convert it to symbolic. That will lose precision and not produce 0 as an answer.