Unwanted peaks in the output of a Notch filter
1 view (last 30 days)
Show older comments
Hello, I recently tried to implement an IIR Notch filer that will help me remove the 50 Hz noise in the ECG signal we acquired in the lab. The 50 Hz is getting attenuated but then an unwanted peaking is observed at 48Hz while taking the fft. Is there any way to get the desired 50Hz suppression with minimal peaking of such kind? This is my code:
d1 = designfilt('bandstopiir','FilterOrder',8, ...
'HalfPowerFrequency1',49,'HalfPowerFrequency2',51, ...
'DesignMethod','butter','SampleRate',Fs);
buttLoop1 = filtfilt(d1,X1);
0 Comments
Answers (0)
See Also
Categories
Find more on Digital Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!