The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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: 303
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.