tfinal = 10;
dt_fine = 0.0000001;
tvec_fine = [0:dt_fine:tfinal];
find(tvec_fine==0.1)
ans =
Empty matrix: 1-by-0
Why does the above code not find the index where tvec_fine
has the entry 0.1. It clearly has the entry based on the definition of tvec_fine
.