Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

ftsuniq

Determine uniqueness

Syntax

uniq = ftsuniq(dates_and_times)
[uniq, dup] = ftsuniq(dates_and_times)

Arguments

dates_and_times

A single column vector of serial date numbers. The serial date numbers can include time-of-day information.

Description

uniq = ftsuniq(dates_and_times) returns 1 if the dates and times within the financial time series object are unique and 0 if duplicates exist.

[uniq, dup] = ftsuniq(dates_and_times) additionally returns a structure dup. In the structure

  • dup.DT contains the character vectors of the duplicate dates and times and their locations in the object.

  • dup.intIdx contains the integer indices of duplicate dates and times in the object.

Introduced before R2006a

Was this topic helpful?