merging date and time columns in a timetable
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Akram Hussein
am 4 Jul. 2020
Beantwortet: Akram Hussein
am 4 Jul. 2020
I have .csv file with two separate columns one for date and one for time. I am trying to import them both in a single field in a timetable and use them as rowtimes. Any pointers?
Date Time
____ ______
06/07/2020 17:00:01
06/07/2020 17:00:02
06/07/2020 17:00:03
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 4 Jul. 2020
tt = table2timetable( YourTable, 'RowTimes', datetime(YourTable.Date) + duration(YourTable.Time) );
0 Kommentare
Weitere Antworten (1)
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!