resamplets
Downsample data
resamplets
is not recommended. Use timetable
instead. For more information, see Convert Financial Time Series Objects fints to Timetables.
Description
downsamples the data contained in the financial time series object
newfts
= resamplets(oldfts
,samplestep
)oldfts
every samplestep
periods. For
example, to have the new financial time series object contain every other data
element from oldfts
, set samplestep
to
2
.
newfts
is a financial time series object containing the same
data series (names) as the input oldfts
.