What does the following statement mean?
"MATLAB cannot round non-zero entries to specific decimal place, because of that there will always be leftovers around
1e-16
for doubles (double precision variables) and1e-12
for singles."EXAMPLE:
time(3001)=0
andfind(time==0)=3001
buttime(3000)=-1e4
andfind(time==-1e4) = []
becausetime(3000) + 1e-4 = -2.11e-16
andsingle(time(3000)) + 1e-4 = 2.53e-12
.