필터 지우기
필터 지우기

How to specify parameters for matlab's notch filter function

조회 수: 2 (최근 30일)
Elinor Ginzburg
Elinor Ginzburg 2020년 9월 16일
Hello,
I'm writing a code to remove specific frequency from audio file using notch filter as specified in the following documentation. I want to set the bandwidth variable to -3dB but I'm not sure how to do it (and all the examples determine the Q factor instead of the bw when Q = w/bw). The code I'm using:
[signal, fs] = audioread('signal.wav');
frequency_to_remove = 2750;
wo = frequency_to_remove/(fs/2);
bw = wo;
[num,den] = iirnotch(wo,bw);
filtered_output = filter(num1,den1,output);
Can anyone explain me how to specify bw = -3 dB?
Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by