Would anybody know how to smooth data with kernel smoothing regression.
Here is an example http://dl.dropbox.com/u/54057365/All/kernel.JPG
I have an array with time and speed and I am trying to smooth it.
I would like to use the "epanechnikov" kernel of bandwidth 3.
I've found a matlab file that uses Gaussian kernel smoothing http://www.mathworks.com/matlabcentral/fileexchange/19195-kernel-smoothing-regression/content/ksr.m
Would anybody know if this could be used for epanechnikov kernel smoothing? and if so how would you do it? I don't understand the code.
Appreciate any help.