how to reduce the resolution of a matrix?
Mostra commenti meno recenti
I have a matrix of dimension 140*140. i want to make it to dimension 35*35 by averaging grids. how can i do it in a simpler way? Actually i want to reduce the dimension by averaging the grids like [(1,1),(1,2),(2,1),(2,2)] and so on....
1 Commento
Image Analyst
il 22 Nov 2014
It's like 1 or 2 lines if you use blockproc(), which is available in the Image Processing Toolbox. Do you have that toolbox? Or you can use mean2() in a for loop (also requires IPT).
Risposta accettata
Più risposte (1)
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!