% Local Regression and Likelihood, Figure 2.3.
%
% Using different smoothing parameters.

load ethanol;

alp = [0.2 0.4 0.6 0.8];
f=['a','b','c','d'];
for (i=1:4)
  figure('Name', sprintf( 'figure2_3%c: Changing smoothing parameters', f(i) ) );
  fit = locfit(E,NOx,'alpha',alp(i));
  lfplot(fit);
  title(strcat('a = ',num2str(alp(i))));
end;

buzsakilab
github-repos/MATLAB/buzsakilab-buzcode/buzcode-2d700a38b3c2a860ad1333be90f14d7a37a72815/externalPackages/chronux_2_12/locfit/Book/fig2_3.m
buzcode
github-repos/MATLAB/buzsakilab-buzcode
2d700a38b3c2a860ad1333be90f14d7a37a72815