Financial Time Series Toolbox | ![]() ![]() |
Syntax
Arguments
dates_and_times |
A single column vector of serial date numbers. The serial date numbers may 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 indicies of duplicate dates and times in the object.
See Also
![]() | ftsold2new | getfield | ![]() |