I’m trying to plot events on a time axis. The events are milliseconds apart.
If I convert the timestamp of two events to a datenum I get the exact same result for different timestamps. See the following output:
datenum(2011,06,13,15,11,05.500)
ans =
7.3467e+005
datenum(2011,06,13,15,11,06.500)
ans =
7.3467e+005
The time between those two dates is one second apart. What am I doing wrong? Is there a way I can work with times like this?
Thanks
-Daniel
Daniel, just store the data in variable, there is a a difference that’s too small given your precision: