How to merge a datetime array with a table

19 views (last 30 days)
Hello all,
I have a "datetime array" and a table which I want to merge.
DT =
173×1 datetime array
NaT
19-Feb-2015 04:00:00
24-Feb-2015 12:00:00
10-Mar-2015 08:00:00
13-Mar-2015 08:00:00
Thanks.

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 26 Jan 2019
out = table2timetable(Result,'RowTimes',DT);

More Answers (0)

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!