You can use the unique
function in MATLAB to drop duplicate dates. Here's an example assuming your dates are in a column vector:
main.m143 chars6 lines
The resulting unique_dates
variable will contain only one copy of each date, even if there were duplicates in the original dates
vector. You can then use this unique_dates
vector for further processing as needed.
gistlibby LogSnag