Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: matrix reduction
Replies: 2   Last Post: Apr 5, 2013 2:30 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bruce Bowler

Posts: 245
Registered: 12/7/04
matrix reduction
Posted: Apr 4, 2013 8:57 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.