matlab code for average filtering?
Show older comments
Answers (1)
Image Analyst
on 7 Jan 2013
Would this do the trick:
windowSize = 5; % Whatever you want.
averagedMatrix = conv2(originalMatrix, ones(windowSize)/windowSize^2, 'same');
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!