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?

 Accepted Answer

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

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!