How to reduce a matrix size in 1 dimension
Show older comments
I would like to reduce the size of a matrix (M,N) in one direction (the rows) by averaging the values of neighboring cells.
So the cells (1,1), (1,2) in the old matrix will be represented by their average in (1,1) in the new matrix.
How can I do this?
Accepted Answer
More Answers (0)
Categories
Find more on Statistics and Machine Learning Toolbox 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!