Dear all
I have the following sequence of dates
A={
'11/08' '11/08' '12/08' '01/09' '02/09' '03/09' '04/09' '05/09' '06/09' '07/09' '08/09' '09/09' '10/09' '11/09' '11/09' '12/09' '01/10' '02/10' }
As you can see some succesive dates contain the same month/year (for example the first 2 dates).
I would like to be able to identify the identical succesive dates
so as to construct an if statetement that will say
for ii=2:length(A)if A(ii,1)==A(ii-1,1) 'do this' endend
Best Answer