%% Get Filter Orders of Digital Up Converter
% Get orders of each decimation filter stage of the dsp.DigitalUpConverter System object™.
% Create a dsp.DigitalUpConverter System object with the default settings.

upConv = dsp.DigitalUpConverter

% Using the getFilterOrders function, obtain the number of CIC decimator sections, order of the CIC compensation filter stage, and order of the third filter stage.

S = getFilterOrders(upConv)

% The first filter order field is empty when the object bypasses the first filter stage.
%
% Copyright 2018 The MathWorks, Inc.