Code covered by the BSD License  

Highlights from
Interactive Smoothing

image thumbnail
from Interactive Smoothing by Tom O'Haver
Interactive smoothing for time-series signals

SmoothSlider2(n,h)
function SmoothSlider2(n,h)
% Re-draws graph when smooth passes slider is moved
% Tom O'Haver, July 2006. % Slider function by Matthew Jones.
global X
global SmoothY
global Y
global SmoothWidth
global Passes
Passes=round(n);
SmoothSliderRedraw

Contact us at files@mathworks.com