%% Mean of Data Samples
% Create a timeseries object and compute the mean of the data samples.

ts = timeseries((1:5)');
tsmean = mean(ts)

% Copyright 2012 The MathWorks, Inc.