table2timetable: date lost in a generated timetable

조회 수: 1 (최근 30일)
alpedhuez
alpedhuez 2018년 6월 13일
편집: Sindhu Yerragunta 2018년 6월 19일
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.

답변 (1개)

Sindhu Yerragunta
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

카테고리

Help CenterFile Exchange에서 Time Series Objects에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by