MATLAB Answers

How to merge a datetime array with a table

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

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!