Main Content

Gain of CIC filter System object

returns the gain of the CIC filter System object™.`g`

= gain(`sysobj`

)

When `sysobj`

is a `dsp.CICDecimator`

object, the `gain`

function
returns the gain for the overall CIC decimator.

When `sysobj`

is a `dsp.CICInterpolator`

object, the `gain`

function
returns the gain of the 2*N*^{th} stage of
the CIC interpolation filter, where *N* is the number of filter
sections. For more details, see `g`

.

returns the gain of the `g`

= gain(`sysobj`

,`j`

)`j`

^{th} section of
a CIC interpolation filter. When you omit `j`

, the function assumes
that `j`

is 2*N*, and returns the gain of the last
section of the filter. This syntax does not apply when `sysobj`

is a `dsp.CICDecimator`

object.