table2timetable: date lost in a generated timetable
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a table that has NaN and then applied table2timetable. There were no error messages. But the resulting timetable does not have "Date" column but there are other data. Please advise.
0 Kommentare
Antworten (1)
Sindhu Yerragunta
am 19 Jun. 2018
Bearbeitet: Sindhu Yerragunta
am 19 Jun. 2018
Hi Alpedhuez,
Try the following steps,
1. Import the CSV file
2. Convert the Date column to "datetime" type using
>> Test7.Date = datetime(Test7.Date)
3. Then,
>> table2timetable(Test7)
Hope this information helps.
--Sindhu
0 Kommentare
Siehe auch
Kategorien
Mehr zu Time Series Objects finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!