CODE ARCHIVE

Below are links to the code we used in designing, simulating and implementing adaptive filters.

The M files are MATLAB code for simulating two applications of adaptive filters: noise cancellation and FIR identification.

The C code is our program for implementation of noise cancellation on a Texas Instruments C6x EVM. The actual LMS algorithm is implemented in the serialPortRcvISR() function; the surrounding code handles A/D, D/A and I/O.

Code
lms1.m Noise cancellation using LMS algorithm
fir.m System Identification using NLMS algorithm
noise.c DSP implementation of noise cancellation