resamplets

Downsample data

resamplets will be removed in a future release. Use timetable instead. For more information, see Convert Financial Time Series Objects fints to Timetables.

Syntax

newfts = resamplets(oldfts,samplestep)

Description

newfts = resamplets(oldfts,samplestep) downsamples the data contained in the financial time series object 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.

Introduced before R2006a