resamplets

Downsample data

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.

See Also

Was this topic helpful?