필터 지우기
필터 지우기

Polyphase IIR halfband decimator using biquad stages

조회 수: 2 (최근 30일)
Morgan
Morgan 2013년 10월 8일
편집: Morgan 2013년 10월 8일
Using DSP/Signal Toolbox.
I am trying to use matlab to generate coefficients for polyphase IIR halfband decimator. Which can be achieved using :
%%Halfband filter (-3dB at 0.5), Transition band 0.1 wide and 80dB stopband attenuation
f = fdesign.decimator(2, 'halfband','TW,Ast' ,0.1,80);
h1 = design(f,'ellip');
h1.realizemdl
This generates:
However refactoring phase 1 to see the structure it looks like a cascade of first order df1 stages. Phase 2 is just a 0.5 gain.
The filter structure I am targeting is implemented as cascaded biquads. Phase 1 of a higher order than Phase 2.
*How do I get matlab to generate polyphase IIR filters using biquad stages?* where Phase 2 is more than a gain step. Ideally using the ellip method.
I have tried a few things like:
He3 = design(f,'ellip','FilterStructure','cascadewdfallpass');
He3.realizemdl
Which creates a Phase 2 with a real filter but not using biquad stages.
I am not aware of how to find which 'FilterStructures' are valid but found a reference to 'df2sos', which does not seem compatible with the ellip moethods.
He3 = design(f,'ellip','FilterStructure','df2sos');
Error using fdesign.decimator/ellip (line 19)
'df2sos' is an invalid structure for this design.
I have been using Digital Filters with MATLAB by Ricardo A. Losada as my reference for this.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate and Multistage Filters에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by