This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Order of discrete-time filter System object


n = order(sysobj)


collapse all

Design a compensation decimator for a CIC decimator using the dsp.FilterCascade object. Determine the order of the overall filter.

cicdecim = dsp.CICDecimator('DecimationFactor', 6, ...
    'NumSections', 6);

fs = 16e3;     % Sampling frequency of input of compensation decimator
fPass = 4e3;   % Passband frequency
fStop = 4.5e3; % Stopband frequency
ciccomp = dsp.CICCompensationDecimator(cicdecim, ...
    'DecimationFactor', 2, ...
    'PassbandFrequency', fPass, ...
    'StopbandFrequency', fStop, ...
    'SampleRate', fs);

filtchain = dsp.FilterCascade(cicdecim, ciccomp);

ans = 648

Introduced in R2011a