%% Modify Uniform Time Vector
% Create a timeseries object with a uniform time vector.

tsin = timeseries((1:5)',1:5);
tsin.Time

% Modify the time vector by specifying a new start time and end time.

tsout = setuniformtime(tsin,'StartTime',10,'EndTime',20);
tsout.Time

% Copyright 2012 The MathWorks, Inc.