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.




newfts = diff(oldfts)


diff computes the differences of the data series in a financial time series object. It returns another time series object containing the difference.

newfts = diff(oldfts) computes the difference of all the data in the data series of the object oldfts and returns the result in the object newfts. newfts is a financial time series object containing the same data series (names) as the input oldfts.

Introduced before R2006a

Was this topic helpful?