| MATLAB Central > MATLAB Newsreader > average every 12th row of matrix |
|
|
|
Subject: average every 12th row of matrix From: Nix Nicholson Date: 5 Nov, 2009 17:19:03 Message: 1 of 6 |
|
Hi: Beginner question - I have 7 years of some monthly data fields and I want to compute the average for each month over the 7 year period. I can do it by specifying row numbers but how could I do this so that come next year, when i have 8 years data I can just change a scaler value for year number and it will recompute a new average? |
|
Subject: average every 12th row of matrix From: the cyclist Date: 5 Nov, 2009 17:30:35 Message: 2 of 6 |
|
"Nix Nicholson" <linznix@gmail.com> wrote in message <hcv1e7$3ua$1@fred.mathworks.com>... |
|
"Nix Nicholson" <linznix@gmail.com> wrote in message <hcv1e7$3ua$1@fred.mathworks.com>... |
|
Nix Nicholson wrote: |
|
dpb wrote: |
|
Hello, thanks to you all. |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Contact us at files@mathworks.com
