« first day (2031 days earlier)      last day (1189 days later) » 

12:58 PM
stackoverflow.com/q/65825767/5211833 can anyone explain me why my answer doesn't solve the problem?
I fail to understand why dt=0.1 and then 0:dt:1 doesn't work, whereas 0:01:1 would.
Apparently I no longer have MATLAB installed on this machine, so I can't actually test it...
 
 
3 hours later…
3:59 PM
@Adriaan They both work exactly the same way.
Either OP is confused, or they didn't run their own MRE, and the problem is elsewhere in their code.
 
 
3 hours later…
7:08 PM
@CrisLuengo or both ;)
 

« first day (2031 days earlier)      last day (1189 days later) »