필터 지우기
필터 지우기

How to design a FIR filter by the -3db bandwidth?

조회 수: 7 (최근 30일)
斌政 刘
斌政 刘 2022년 7월 25일
댓글: 斌政 刘 2022년 7월 25일
When I try to design a FIR low-pass filter by using -3db bandwidth as the cutoff frequency, I find that the amplitude of the cutoff frequency cannot reach -3db, and I design the filter by the FDAtool, how to solve this problem or is my design method wrong? Thanks for any help you can provide.

채택된 답변

Chunru
Chunru 2022년 7월 25일
편집: Chunru 2022년 7월 25일
Generally speaking, you don't have to worry about -3dB attenuation at the cut-off. You just specify the pass-band and stop band with certain transition band.
However, if you do want to have a deired -3dB response. One appraoch is to use generalized digital Butterworth filter (IIR not FIR) as show below. There are other approaches for FIR (such as using least square methods to fit the freq response).
num = 10; den = 2; wn = 0.2;
[b, a] = maxflat(num, den, wn);
[h, w] = freqz(b, a);
plot(w/pi, 20*log10(abs(h)));grid
ylim([-10 0])
xline(0.2); yline(-3)
  댓글 수: 3
Chunru
Chunru 2022년 7월 25일
You are right. Very often, the important design parameters of a filter (such as LPF) are given in the following figture, where -3db attenuation at cut-off freq (fpass) is not specified.
斌政 刘
斌政 刘 2022년 7월 25일
Thank you so much for your patient answer, I have learned a lot.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by