Financial Time Series Toolbox    
size

Get number of dates and data series

Syntax

Arguments

tsobj
Financial time series object
dim
Dimension:
dim = 1 returns number of dates (rows).
dim = 2 returns number of data series (columns).

Description

szfts = size(tsobj) returns the number of dates (rows) and the number of data series (columns) in the financial time series object tsobj. The result is returned in the vector szfts, whose first element is the number of dates and second is the number of data series.

szfts = size(tsobj, dim) specifies the dimension you want to extract.

See Also

length

size in the MATLAB documentation


  setfield smoothts