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?

 Réponse acceptée

Honglei Chen
Honglei Chen le 21 Juil 2011
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

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by