%% Find Number of Stages
% This example shows how to query the number of stages in a filter cascade.
% Create a filter cascade with two stages and call getNumStages on the cascade object.

    FC = cascade(dsp.FIRFilter,dsp.IIRFilter)
    FCstages = getNumStages(FC)

%
% Copyright 2018 The MathWorks, Inc.