MATLAB Answers

How to merge a datetime array with a table

49 views (last 30 days)
Sonima
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
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.

  0 Comments

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!