%% Append Two timeseries Objects
% Create two timeseries objects, and append them by time. Display the time samples of the resulting timeseries.

ts1 = timeseries(rand(5,1),[1 2 3 4 5]);
ts2 = timeseries(rand(5,1),[6 7 8 9 10]);
ts = append(ts1,ts2);
ts.Time

% Copyright 2012 The MathWorks, Inc.