view src/ltpda_smoother/test_mnfest.m @ 7:1e91f84a4be8 database-connection-manager

Make ltpda_up.retrieve work with java.sql.Connection objects
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

clear;


%% Create test data
bw = 20;
ol  = 0.8;

xx = rand(1,1000).^2;
xx(500) = 10;


% Make AO
a = ao(1:length(xx),xx);
s = smoother(a)

nxx = ltpda_smoother(xx, bw, ol, 'median');
b   = ao(1:length(xx), nxx);

iplot(s,b)

iplot(s./b)