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. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Determine whether filter System object is FIR




isfir(sysobj) determines whether the filter System object™ sysobj is an FIR filter. If the filter is FIR, isfir returns 1.

To determine whether sysobj is an FIR filter, isfir(sysobj) inspects if the filter in the transfer function form has a scalar denominator. If it does, it is an FIR filter.


collapse all

Design a Lowpass FIR Filter.

d = fdesign.lowpass;
h = design(d,'Systemobject',true)
h = 

  dsp.FIRFilter with properties:

            Structure: 'Direct form'
      NumeratorSource: 'Property'
            Numerator: [1x43 double]
    InitialConditions: 0

  Use get to show all properties

Determine if the filter is an FIR filter using isfir.

ans =



isfir returns 1 to indicate that the filter is an FIR filter.

Introduced in R2011a

Was this topic helpful?