FIR Parks-McClellan
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (3)
Wayne King
el 13 de Jun. de 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
el 13 de Jun. de 2012
0 votos
3 comentarios
Wayne King
el 13 de Jun. de 2012
Honglei said it perfectly. That's why I said use freqz().
Tan
el 13 de Jun. de 2012
Tan
el 13 de Jun. de 2012
Wayne King
el 13 de Jun. de 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 comentario
Tan
el 14 de Jun. de 2012
Categorías
Más información sobre Fixed-Point Filters en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!