| Financial Toolbox™ | ![]() |
uniq = ftsuniq(dates_and_times) [uniq, dup] = ftsuniq(dates_and_times)
dates_and_times | A single column vector of serial date numbers. The serial date numbers can include time-of-day information. |
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.
![]() | ftstool | fvdisc | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |