Mercurial > hg > ltpda
annotate src/ltpda_smoother/ltpda_smoother.m @ 46:ca0b8d4dcdb6 database-connection-manager
Fix
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:27 +0100 |
parents | f0afece42f48 |
children |
rev | line source |
---|---|
0 | 1 |
2 % LTPDA_SMOOTHER A mex file to compute a running smoothing filter. | |
3 % | |
4 % function sy = ltpda_smoother(y, bw, ol, method); | |
5 % | |
6 % Inputs: | |
7 % y - data vector | |
8 % bw - bandwidth over which to compute each sample | |
9 % ol - percentage of outliers to discard from each sample estimate [0-1] | |
10 % method - choose from 'median' | |
11 % | |
12 % Outputs: | |
13 % sy - the smoothed data vector | |
14 % | |
15 % M Hewitson 02-10-06 | |
16 % |