On Friday, March 1, 2013 8:33:09 AM UTC+13, Mohammad wrote: > Hi, I need to convert rainfall data from daily to monthly considering exact days of each month (31, 28/29, 30, 31................31). Thanks in advance for your help.
The first step, as dpb says, is to convert your dates to serial times using datenum. Your task from here will seem impossibly difficult until you do this: help datevec What datevec will do is to decompose each serial date into its year, month and day. Once you have these, it is straightforward to extract the data for each month.