
matrix reduction
Posted:
Apr 4, 2013 8:57 AM


I have a large array, 2048x2560, that I'd like to reduce in size to 512x640. The reduction should be such that the 1,1 element in the reduced array is the mean of the 1:4,1:4 elements of the larger array, the 1,2 element is the mean of 1:4,5:8, etc...
I know I can do it with a crafty combination of kron and a loop, but that just feels wrong. I'm sure there's a better (faster) way, but I can't come up with anything.
Any help out there?
Thanks! Bruce

