If eps is the machine precision and the smallest number such that MATLAB can tell x+eps≠x, when comparing 2 numbers, such as in the loop {while a<b}, what is the smallest difference between a and b such that MATLAB can correctly decide whether a<b? Is it eps or does it change with the sizes of a and b? Thanks 🙂
MATLAB: What is the smallest difference MATLAB can notice between numbers
computingdifferenceepsilon
Best Answer