Designing a Notch Filter
4 次查看(过去 30 天)
显示 更早的评论
Hello,
I'd like to design a notch filter with Fs=22050Hz, frequency=60Hz sinusoidal signal. Can someone please tell me what parameters to pass inside the notch filter function?
Also, I have a voice signal saved as .wav file in my computer, and I want to mix it with the above 60Hz sine signal. Can someone help me with both my queries? I've been trying a few ways, but couldn't find the result.
Thanks
1 个评论
Gui Chen
2021-1-27
Here is a video about the notch filter design. You could take a look at it.
https://youtu.be/ke4i9NsTOyQ
回答(1 个)
Sulaymon Eshkabilov
2019-10-19
% The signal processing toolbox of MATLAB has:
iirnotch()
% Import your wav file with:
[y,Fs] = audioread('AUDIO_FIle.wav');
%
Good luck.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Single-Rate Filters 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!