%% Display Properties
% Create a tscollection object from two timeseries objects and display its properties.

ts1 = timeseries(rand(5,1),'Name','ts1');
ts2 = timeseries(rand(5,1),'Name','ts2');
tsc = tscollection({ts1,ts2});
tscinfo = get(tsc)

% Display only the Length property.

tsclength = get(tsc,'Length')

% Copyright 2012 The MathWorks, Inc.