diff src/ltpda_smoother/test_mnfest.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/test_mnfest.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,21 @@
+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)
\ No newline at end of file