Divide data and take the median
Show older comments
Hi I want to ask about divide data and take its median for example, a=[1:100] b=sqrt(a.*2);
I want to take the median of every 20 data. How should it be?
Accepted Answer
More Answers (1)
Image Analyst
on 13 Jul 2017
0 votes
To move continuously, use the built-in movmedian(). To move in jumps, use blockproc() in the Image Processing Toolbox.
Categories
Find more on Neighborhood and Block Processing 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!