| Description |
function iff(x,y)
Interactive Fourier Filter function for data in arguments x,y, with sliders for interactive control of the center frequency, width, and shape of the filter. There are four operating modes: mode=0 for band-pass filter, linear plot;
mode=1 for band-pass filter, semilogx plot;
mode=2 for band-reject (notch) filter, linear plot;
mode=3 for band-reject (notch) filter, semilogx plot.
Shape determines the sharpness of the cut-off. If shape =1, the filter is Gaussian; as shape increases the filter shape becomes more and more rectangular.
Declares global variables IFFDATA and IFFPARAMETERS. Filtered signal is returned in the global variable IFFDATA(3,:,:), so declare IFFDATA as global before calling iff.m to have access to IFFDATA outside of iff.m
T. C. O'Haver (toh@umd.edu), version 3, June 2008. Slider function by matthew jones (matt_jones@fastmail.fm), 2004 |