Skip to Main Content Skip to Search
Product Documentation

iscompatible - Structural equality

Syntax

iscomp = iscompatible(tsobj_1, tsobj_2)

Arguments

tsobj_1, tsobj_2

A pair of financial time series objects.

Description

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.

See Also

isequal

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS