Main Content

size

Size of tscollection

Description

example

tscsize = size(tsc) returns a vector of the form [n m] where n is the length of the time vector of a tscollection object, and m is the number of tscollection members.

Examples

collapse all

Create a tscollection object and display its size.

ts = timeseries([1.1 2.9 3.7 4.0 3.0]',1:5);
tsc = tscollection(ts);
tscsize = size(tsc)
tscsize = 1×2

     5     1

Input Arguments

collapse all

Input tscollection, specified as a scalar.

Version History

Introduced before R2006a