Documentation Center

  • Trial Software
  • Product Updates

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 strings 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.

See Also

Was this topic helpful?