view src/ltpda_smoother/ltpda_smoother.m @ 2:18e956c96a1b database-connection-manager

Add LTPDADatabaseConnectionManager implementation. Matlab code
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Sun, 04 Dec 2011 21:23:09 +0100
parents f0afece42f48
children
line wrap: on
line source


% 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
%