Matrix dimension reduction based on summation
Mostrar comentarios más antiguos
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 comentarios
pfb
el 14 de Abr. de 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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!