This is machine translation

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

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


Convert to specified frequency


newfts = convertto(oldfts,newfreq)
newfts = convertto(oldfts,newfreq,'param1','value1','param2','value2', ... )



Name of an existing financial time series object.


1, DAILY, Daily, daily, D, d

2, WEEKLY, Weekly, weekly, W, w

3, MONTHLY, Monthly, monthly, M, m

4, QUARTERLY, Quarterly, quarterly, Q, q

5, SEMIANNUAL, Semiannual, semiannual, S, s

6, ANNUAL, Annual, annual, A, a


convertto converts a financial time series of any frequency to one of a specified frequency.

newfts = convertto(oldfts,newfreq) converts the object oldfts to the new time series object newfts with the frequency newfreq.

Refer to the documentation for each frequency conversion function to determine the valid parameter/value pairs.

Introduced before R2006a

Was this topic helpful?