Code covered by the BSD License  

Highlights from
Interactive Fourier Filter (version 1.5)

image thumbnail
from Interactive Fourier Filter (version 1.5) by Tom O'Haver
Interactive Fourier Filter for time-series signals.

iffwidth(n,h)
function iffwidth(n,h)
% Re-draws graph when the width slider is moved
% Tom O'Haver, July 2006

global x
global y
global center
global width
global shape
global mode
global ry

width=round(n);
ry=RedrawFourierFilter(x,y,center,width,shape,mode);
axes(h);
h2=gca;

Contact us at files@mathworks.com