FIR Parks-McClellan
Afficher commentaires plus anciens
Hi,
I have a set of FIR Parks-McClellan coefficient :
Numerator: FR_SV = [3.91719822748777E-02, 0.103629842929331, 0.171922134825388, 0.221881476438683, 0.221881476438683, 0.171922134825388, 0.103629842929331, 3.91719822748777E-02];
Denominator: [1.000];
Can i use spectrogram function to plot and see the filter response? I have browse through the help file and could not find Parks-McClellan window. Anyone can help?
Regards, Newbie
Réponse acceptée
Plus de réponses (3)
Wayne King
le 13 Juin 2012
You don't want to use spectrogram, use freqz()
freqz(FR_SV,1)
If you know the sampling frequency, you can input that as well. Here I will assume 10 kHz.
Fs = 1e4;
freqz(FR_SV,1,[],Fs)
Tan
le 13 Juin 2012
0 votes
3 commentaires
Wayne King
le 13 Juin 2012
Honglei said it perfectly. That's why I said use freqz().
Tan
le 13 Juin 2012
Tan
le 13 Juin 2012
Wayne King
le 13 Juin 2012
I'm not familiar with systemVue2009 so I cannot answer your question. In MATLAB, you can use FDATool
>>fdatool
to design a Parks-McClellan FIR equripple filter and export (save) the filter coefficients.
1 commentaire
Tan
le 14 Juin 2012
Catégories
En savoir plus sur Fixed-Point Filters dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!