How to properly display microsecond time differences
Ältere Kommentare anzeigen
I have a timetable with a time column containing microsecond resolution. The time column contains something like this:
'2020-11-07 21:58:29.468130'
'2020-11-07 21:58:29.482676'
'2020-11-07 21:58:29.517115'
'2020-11-07 21:58:29.655223'
'2020-11-07 21:58:29.779059'
'2020-11-07 21:58:29.918082'
'2020-11-07 21:58:29.942628'
This is correctly displayed in the data browser. However, when I run a diff on the column the resulting vector just shows 00:00:00 through-out. When I plot the vector, on the other hand, it properly plots the microsecond differences. So it contains the necessary resolution, but it does not properly display it. This goes also for any other function result (for instance using mean() on the vector, as long as the result is below the second resolution. Is there a way to ensure that all such time data is displays globally with the proper resolution?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Data Type Conversion finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!