A timetable is a special kind of table whose difference is that each row is associated with a time.
[Example 2-74] Use the datetime function to create a timetable. E.g.:
code.matlab
Time = datetime({'2018-09-08 08:09:05';'2018-09-08 10:05:19';'2018-09-08 12:08:12'});
Speed = [12;17;15];
Direction = categorical({'N';'NW';'NW'});
T = timetable(Time,Speed,Direction)
T =
Time Speed Direction
____________________ _________ _____________
08-Sep-2018 08:09:05 12 N
08-Sep-2018 10:05:19 17 NW
08-Sep-2018 12:08:12 15 NW