Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

isfir

Determine whether filter System object is FIR

Syntax

isfir(sysobj)

Description

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.

Examples

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.

isfir(h)
ans =

  logical

   1

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

Introduced in R2011a

Was this topic helpful?