Date: Dec 5, 2012 6:19 PM
Author: David
Subject: taking the mean of a matrix

I am trying to figure out how to make a for loop that will take the mean of every, say n values, of a single column matrix...

So say I have a matrix that is b(54,1), and I make n = 4, I want the loop to take the mean of values 1-4, 5-8, 9-12, and so on.