%% Cell Array of Time Vector Elements
% Extract time values in a timeseries time vector as a cell array of dates and times.
% Create a timeseries object with the default time vector [0 1 2 3 4].

ts = timeseries([3 6 8 0 10]);

% Set the TimeInfo.StartDate property to a date character vector and display the new times associated with ts, which are in increments of 1 second.

ts.TimeInfo.StartDate = '10/27/2005';
tstime = getabstime(ts)

% Copyright 2012 The MathWorks, Inc.