%% Timetable with Missing Times
% Create a timetable, and check that the rows of the timetable are in ascending order based on the row times.  Also check that missing elements are placed last.

Time = [seconds(1:3) NaN NaN]';
TT = timetable(Time,[98;97.5;97.9;98.1;99.9],[120;111;119;117;112],...
               'VariableNames',{'Temperature','Distance'})
TF = issortedrows(TT,'Time','MissingPlacement','last')

% Copyright 2012 The MathWorks, Inc.