%% Missing Data in Timetable
% Create a timetable containing weather data, and replace the last row with missing values.  Each missing value is automatically replaced with the standard missing value for the relevant data type.

Time = datetime({'2015-12-18 08:03:05';'2015-12-18 10:03:17';'2015-12-18 12:03:13'});
Temp = [37.3;39.1;42.3];
WindDirection = categorical({'NW';'N';'NW'});
TT = timetable(Time,Temp,WindDirection)

TT.Time(3) = missing;
TT.Temp(3) = missing;
TT.WindDirection(3) = missing;

TT

% Copyright 2012 The MathWorks, Inc.