showing hours elapsed not date and time data
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hi so i am exporting data from excel :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/532319/image.png)
however when i get the data into matlab it is given as serial numbers and when i use datestr to change it into time it doesnt give me the hours elapsed rather ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/532324/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/532324/image.png)
[sorry for poor quality]
how can i get my data in matlab to look exactly like it was in excel so i can plot it against other values.
0 Kommentare
Antworten (2)
Steven Lord
am 26 Feb. 2021
How are you importing this data from Microsoft Excel? See if the function or technique you're using to import the data can import it as a duration array not text or datetime.
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!