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.

eq (fts)

Multiple financial times series object equality

Syntax

tsobj_1 == tsobj_2
iseq = eq(tsobj_1, tsobj_2)

Arguments

tsobj_1

Financial time series object.

tsobj_2

Financial time series object.

Description

tsobj_1 == tsobj_2 returns True (1) if both financial time series objects have the same dates, frequencies, data series names, and data values. Otherwise, eq returns False (0).

    Note:   The data series names are case-sensitive, but do not have to be in the same order within each object.

Examples

collapse all

This example shows how to determine if multiple financial times series objects are equal.

load disney
dis == dis
ans =

  logical

   1

Related Examples

See Also

Introduced before R2006a

Was this topic helpful?