smooth3

I am using smooth3 "BOX smoothing method" in order to smooth my data. I need to know how it does the filtering. I know that it makes some averaging over given number of neighbors, however I need to know its detail mathematical principle and formula including the assumptions taken for the boundary regions. Thank you so much in advance!

Answers (1)

Sean de Wolski
Sean de Wolski on 21 Sep 2011
Well from opening smooth3
open smooth3
and taking a quick look at the code, it looks like the kernel for a box is:
smooth = ones(sz)/prod(sz);

Asked:

on 21 Sep 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!