How to remove multiple evenly spaced frequency components from digital signal
2 次查看(过去 30 天)
显示 更早的评论
Hey guy,
the FFT of my acustic signal returned some evenly spaced back group noisey frequencies 3,6,9,12,15hz. To remove them at once, I beliebe I can use a irrnotch or irrcomb. But the example of both functions only demonstrated how to remove a signal frequency component, which is a 60hz notch. I am wondering how can I remove multiple evenly spaced frequency components at once.
1 个评论
Mathieu NOE
2021-11-15
hello
iircomb will do the job for multiple frequencies - read again the help . yes it will remove the 60 hz tone plus all harmonics
example is given for 11 notches = 60 Hz tone + 10 harmonics will be removed
Design and plot an IIR notch filter with 11 notches (equal to filter order plus 1) that removes a 60 Hz tone (f0) from a signal at 600 Hz(fs). For this example, set the Q factor for the filter to 35 and use it to specify the filter bandwidth.
fs = 600;
fo = 60;
q = 35;
bw = (fo/(fs/2))/q;
[b,a] = iircomb(fs/fo,bw,'notch'); % Note type flag 'notch'
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!