Mercurial > hg > ltpda
diff src/ltpda_smoother/ltpda_smoother.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ltpda_smoother/ltpda_smoother.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,16 @@ + +% LTPDA_SMOOTHER A mex file to compute a running smoothing filter. +% +% function sy = ltpda_smoother(y, bw, ol, method); +% +% Inputs: +% y - data vector +% bw - bandwidth over which to compute each sample +% ol - percentage of outliers to discard from each sample estimate [0-1] +% method - choose from 'median' +% +% Outputs: +% sy - the smoothed data vector +% +% M Hewitson 02-10-06 +%