Matlab M-files for Adaptive IIR Filtering



This page contains Matlab M-files that you can download. They are upgraded versions of those which appear in Appendix A of Adaptive IIR Filtering in Signal Processing and Control (New York: Marcel Dekker, 1995), and have all been tested with Matlab 4, 5 and 6, and now Octave-2.0. Demonstration files are also included to illustrate the performance of the various Matlab functions provided in this package.



Pour nos amis francophones ... 



 
File  Description 
adapiir_matlab.tar.gz  Complete set, including demos for Matlab.
 
adapiir_octave.tar.gz  Complete set, including demos for Octave.
 
NotchDemo.tar.gz  Self-contained notch filter demo with graphic interface for Matlab.
 
Individual
M-files
Description
dir2lat.m  Parameter transformation from direct form to normalized lattice.
 
lat2dir.m  Parameter transformation from normalized lattice to direct form.
 
hsval.m  Compute Hankel singular values of a transfer function.
 
hsval2.m  Compute Hankel singular values of a transfer function (alternate version).
 
lat2conv.m  Convolve input sequence with impulse response sequence of lattice filter.
 
lat2cor.m  Compute autocorrelation sequence using IIR lattice filter.
 
lat2imp.m  Compute impulse response of IIR filter in normalized lattice form.
 
lat2pz.m  Compute poles and zeros of transfer function from normalized lattice parameters.
 
lat2tdl.m  (called by hsval.m and lat2dir.m)
 
lattice.m  Basic function for implementing lattice filter.
 
smm_demo.m  Demonstration file for an adaptive IIR filter in lattice form, using a Steiglitz-McBride adaptation algorithm. Illustrates sufficient order and reduced order performance (Matlab version).
 
spgl_demo.m  Demonstration file for an adaptive IIR filter in lattice form, using a gradient descent adaptation algorithm. Illustrates sufficient order and reduced order performance (Matlab version).
 
notch_demo.m  Demonstration file for an adaptive IIR notch filter in both lattice and direct form, with frequency hop, chirp, and "mega-chirp" tracking experiments (Matlab version).
 
hsval_demo.m  Demonstration file illustrating performance of HSVAL (Matlab version).
 
system_demo.m  Demonstration file illustrating basic system theory routines, including LAT2PZ, LAT2IMP, and LAT2COR (Matlab version).
 

Screenshots

Frequently Answered Questions

How do I decompress the whole kit?

  • Unix/Linux

  • Try

    prompt$ tar zxvf adapiir_octave.tar.gz

    or, failing that,

    prompt$ gunzip adapiir_octave.tar.gz
    prompt$ tar xvf adapiir_octave.tar

    That will create a directory called "adapiir_octave" containing all the files.
     

  • MacOS Classic

  • You can drop the .tar.gz file on Stuffit Expander, but first under the "File" menu choose "Preferences..." and then "Cross Platform" to convert text files to Macintosh format.  (The .tar.gz files contain straight ASCII test, but with Unix newline characters).  Or you can use Stuffit Expander without converting text files to Mac format, and then change the line endings using a text editor such as Alpha.
     
  • MacOS X

  • Double click on the downloaded file in the Finder, or use the UNIX instructions above in Terminal.app.
     
  • Windows

  • In principle, IE should take care of anything you throw it...


Any comments ? Send e-mail to


Last update: December 5, 2002