how to design a filter with band pass FIR filter and IIR low pass filter ?
Ältere Kommentare anzeigen
I am new with mathlab. I need to design a filter using FIR bandpass filter with cutoff frequency, fc1 = 16 Hz and fc2=37 Hz. k(n) and IIR lowpass filter with cutoff frequency fc3 = 65 Hz. May I know how should I start my task? I had looked trough the FIR Filter Design page...but I realized that there are a few filter design method. May I know how to choose a suitable design for a project ? thanks :)
Antworten (1)
Wayne King
am 7 Nov. 2013
Bearbeitet: Wayne King
am 7 Nov. 2013
A key consideration is whether you want to specify the order of your filters? Are do you want MATLAB to find the minimum order filters that meet your specifications?
Assuming you have the Signal Processing Toolbox.
For a minimum order design (I'll assume a sampling frequency of 500 Hz -- you did not say):
d = fdesign.bandpass('Fst1,Fp1,Fp2,Fst2,Ast1,Ap,Ast2',10,16,37,43,40,0.5,40,500);
Hdfir = design(d,'equiripple'); % FIR
Hdiir = design(d,'butter'); % IIR
See the documentation for fdesign.bandpass to see the other design specifications.
Kategorien
Mehr zu Digital and Analog Filters finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!