fig11_5

PURPOSE ^

Local Regression and Likelihood, Figure 11.5.

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Local Regression and Likelihood, Figure 11.5.
 Author: Catherine Loader

 Local Adaptive Smooth - Dopler example.
 Adaptive fitting using Katkovnik (et al) ICI criterion.

 NEED: Improve plot - curve is hard to see.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Local Regression and Likelihood, Figure 11.5.
0002 % Author: Catherine Loader
0003 %
0004 % Local Adaptive Smooth - Dopler example.
0005 % Adaptive fitting using Katkovnik (et al) ICI criterion.
0006 %
0007 % NEED: Improve plot - curve is hard to see.
0008 
0009 x = (0:2047)'/2047;
0010 m = 20*sqrt(x.*(1-x)) .* sin(2*pi*1.05 ./ (x+0.05));
0011 y = m + normrnd(0,1,2048,1);
0012 fit = locfit(x,y,'pen',1.1,'acri','ici','maxk',500);
0013 figure('Name','fig11_5: local adaptive smooth: dopler example');
0014 lfplot(fit);

Generated on Fri 12-Aug-2011 11:36:15 by m2html © 2005