FIR Parks-McClellan
古いコメントを表示
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
採用された回答
その他の回答 (3 件)
Wayne King
2012 年 6 月 13 日
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
2012 年 6 月 13 日
0 投票
3 件のコメント
Wayne King
2012 年 6 月 13 日
Honglei said it perfectly. That's why I said use freqz().
Tan
2012 年 6 月 13 日
Tan
2012 年 6 月 13 日
Wayne King
2012 年 6 月 13 日
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.
カテゴリ
ヘルプ センター および File Exchange で Fixed-Point Filters についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!