Matrix dimension reduction based on summation
Show older comments
Hi,
I have 81*81 matrix. I need to reduce this matrix dimension to, let say, 10*10. Let suppose in the new 10*10 matrix, 1st column is equal to the sum of 1 to 10 columns, similarly 2nd column (in the new matrix) is the sum of 11 to 20 columns and so on. Similarly for the rows too.
How we can code this in MATLAB.
Thanks
2 Comments
pfb
on 14 Apr 2015
a column in a 10x10 matrix has 10 entries. A column in a 81x81 matrix has 81 entries. How can a the sum of 10 81x1 vectors be a 10x1 vector?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!