Blackman FIR bandpass filter design

12 vues (au cours des 30 derniers jours)
olga
olga le 21 Juil 2011
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
  1 commentaire
olga
olga le 21 Juil 2011
THANK YOU!!! :):)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by