Blackman FIR bandpass filter design

I tried to generate FIR Blackman bandpass filter (1-50 Hz passband) using window method. I used fdesign.bandpass with specifications of N, F3dB1, F3dB2 and then tried to generate Hd using window(d,'window',@blackman), but found that this combination only works for lowpass (and maybe highpass) filter. What am doing wrong? Is there an easy way to design Blackman FIR bandpass filter?

 채택된 답변

Honglei Chen
Honglei Chen 2011년 7월 21일

0 개 추천

Hi olga,
There is a subtle difference between the specification of an IIR filter and an FIR filter. Because you are designing an FIR filter, you need to use 'N,Fc1,Fc2' instead of 'N,F3dB1,F3dB2'. Here is an example
h = fdesign.bandpass
h.Specification = 'N,Fc1,Fc2'
Hd = window(h,'window',@blackman)
fvtool(Hd)
HTH,
Honglei

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Digital and Analog Filters에 대해 자세히 알아보기

태그

질문:

2011년 7월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by