How to properly display microsecond time differences
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!