How to convert time from decimal to HH:MM format in plot?
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm reading from Excel file and in Excel the time is showing in the correct HH:MM format but when I imported it to MATLAB it is showing in decimal. I want to plot a figure with time in the HH:MM format and not decimal. I'm using MATLAB R2013a.
댓글 수: 0
답변 (1개)
Star Strider
2016년 8월 28일
If you have R2014b or later, consider using a datetime object. Otherwise, consider using the datetick function.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!