Documentation Center    • Trial Software   • Product Updates
Acoustic Noise Cancellation (LMS)  This example shows how to use
the Least Mean Square (LMS) algorithm to subtract noise from an
input signal. The LMS adaptive filter uses the reference signal
on the Input port and the desired signal on the Desired port to
automatically match the filter response. As it converges to the
correct filter model, the filtered noise is subtracted and the
error signal should contain only the original signal.  Exploring
the Example  In the model, the signal output at the upper port
of the Acoustic Environment subsystem is white noise. The signal
output at the lower port is composed of colored noise and a
signal from a .wav file. This example model uses an adaptive
filter to remove the noise from the signal output at the lower
port. When you run the simulation, you hear both noise and a
person playing the drums. Over time, the adaptive filter in the
model filters out the noise so you only hear the drums.
Acoustic Noise Canc