Designing a Notch Filter

조회 수: 7 (최근 30일)
Sri Srujan Gollapudi
Sri Srujan Gollapudi 2019년 10월 19일
댓글: Gui Chen 2021년 1월 27일
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
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
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.
  댓글 수: 1
Sri Srujan Gollapudi
Sri Srujan Gollapudi 2019년 10월 19일
Thanks for the response, but can you tell me what parameters I need to pass inside iirnotch() with Fs and notch frequncy given.
Thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Filter Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by