size (timeseries) - Size of timeseries object

Syntax

size(ts)

Description

size(ts) returns [n 1], where n is the length of the time vector for timeseries object ts.

Remarks

If you want the size of the whole data set, use the following syntax:

size(ts.data)

If you want the size of each data sample, use the following syntax:

getdatasamplesize(ts)

See Also

getdatasamplesize, isempty (timeseries), length (timeseries)

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS