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.


Structural equality


iscomp = iscompatible(tsobj_1,tsobj_2)


tsobj_1, tsobj_2

A pair of financial time series objects.


iscomp = iscompatible(tsobj_1,tsobj_2) returns 1 if both financial time series objects tsobj_1 and tsobj_2 have the same dates and data series names. It returns 0 if any component is different.

iscomp = 1 indicates that the two objects contain the same number of data points and equal number of data series. However, the values contained in the data series can be different.


Data series names are case-sensitive.

Introduced before R2006a

Was this topic helpful?