extracting date ranges from date vectors

Aug 2008
In Matlab, I have a column vector called "dates" including many dates from 1993 to 2009 in the "20-May-2010" format and I'm hoping to find a good way to extract dates in 6 month periods, from Jan-Jun and July-December for each year:

1993 Jan-Jun contains all dates in this range->vector1
1993 Jul-Dec vector 2
1994 Jan-Jun etc.
1994 July-Dec ....

I'm having trouble even manually extracting dates by trying, say >"dates(1:6)" - matlab is returning just one number (111223). The dates were originally in serial format, and I used datestr to convert them to their current format ("dd-mm-yyyy")

I'm grateful for your help.
Last edited: