cell array manipulation and cell array conversion
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Fan Yang
am 13 Apr. 2020
Kommentiert: Fan Yang
am 13 Apr. 2020
Hi guys, I have a cell array containing date and time (from year to millisecond). how can I manipulate the cell array so it only contains second and millisecond?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/284025/image.png)
0 Kommentare
Akzeptierte Antwort
David Hill
am 13 Apr. 2020
X=readmatrix(yourFile);
t=datetime(X,'InputFormat','yyyy-MM-dd HH.mm.ss.SSSSSS','Format','ss.SSSSSS');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures 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!