Introduction - If you have any usage issues, please Google them yourself
Wideband signal in the conventional sinusoidal interference suppression method is the use notch filter (notch filter), this requires precise knowledge of the frequency of a sinusoidal interference . However, when the interference frequency sinusoidal changes slowly , and the selected frequency characteristic requirements are very sharp , then best use of adaptive noise cancellation method . following figure is a second-order FIR LMS adaptive filter to eliminate a program sinusoidal interference . The code implements the following functions:
A ) draw with MATLAB error performance of the filter surface and the surface contour error performance curve
2 ) gives the steepest descent method and the LMS algorithm formula
3 ) generated using MATLAB variance of 0.05 with a mean of 0 white noise S (n), and draw a particular sampling waveform
4 ) based on 2 ) of the formula , and use 3 ) generated in S (n), in a ) the error performance curves superimposed on the surface contour pl