fts2mat
Convert to matrix
fts2mat
is not recommended. Use timetable
instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
Syntax
Description
extracts the data series named in tsmat
= fts2mat(tsobj
,seriesnames
)seriesnames
and puts its
values into tsmat
. The seriesnames
argument can be a cell array of character vectors.
puts into tsmat
= fts2mat(tsobj
,datesflag
,seriesnames
)tsmat
the specific data series named in
seriesnames
. The datesflag
argument
must be specified. If datesflag
is set to 1
,
the dates vector is included. If you specify an empty matrix ([]
)
for datesflag
, the default behavior is adopted.