table2timetable: date lost in a generated timetable
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sindhu Yerragunta
2018-6-19
编辑:Sindhu Yerragunta
2018-6-19
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time Series Objects 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!