Get number of stages in filter cascade
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)
FC = dsp.FilterCascade with properties: Stage1: [1x1 dsp.FIRFilter] Stage2: [1x1 dsp.IIRFilter]
FCstages = getNumStages(FC)
FCstages = 2