From: Scott McGrane on
Hello all,

Quick question:

I have a dataset which contains daily rainfall values. Lets say (for arguments sake) that there are 30 years worth of daily data recorded in a text-pad file as such:

1/1/80 1
2/1/80 2
3/1/80 3
4/1/80 4
..
..
..
..
x/x/xx x

What I want to do is break this constant daily data into monthly subsets and the output to give me an average of the months' values, as such, looking something like this:


"Jan" "Feb".............Dec

1 4
2 6
3 5
2 3
3 4

Is there a quick script which will execute this, as I feel I'm going round in circles with the help section of MatLab.

Cheers in advance,

Scott