Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

Introduced before R2006a

Was this topic helpful?