Parks-McClellan algorithm for filter design
显示 更早的评论
Dear all, i'm kinda new in Matlab and i need help, how to get Matlab code to design filter in Matlab with Parks-McClellan algorithm for this parameters:
0 ≤ H(e^jω) ≤ 0.01 0≤ω≤0.2π
0.95 ≤ H(e^jω) ≤ 1.05 0.35≤ω≤0.65π
0≤ H(e^jω) ≤0.03 0.75≤ω≤π
can someone show me the code or hint how to get filters in Matlab.
Thanks in advance
回答(1 个)
Wayne King
2012-10-14
0 个投票
If you have the Signal Processing Toolbox, you can use firpm.m Or you can use fdesign.bandpass with a specification string that supports 'equiripple'
类别
在 帮助中心 和 File Exchange 中查找有关 Digital Filter Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!