| Filter Design Toolbox | ![]() |
Test quantized filters to see whether they are FIR filters
Syntax
Description
flag = isfir(hq)
determines whether quantized filter hq is an FIR filter, returning flag equal to 1 when the quantized filter is an FIR filter, and 0 when it is IIR.
flag = isfir(hq,k)
determines whether the kth-section of quantized filter hq is an FIR filter, returning flag equal to 1 when the kth-section is an FIR filter and 0 when it is IIR.
isfir(hq) looks at filter hq and determines whether the filter, in transfer function form, has a scalar for its denominator. If it does, it is an FIR filter.
Examples
returns 1 for the status of filter hq; the filter is an FIR structure with denominator reference coefficient equal to one.
See Also
isallpass, islinphase, ismaxphase, isminphase, isreal, issos, isstable
| isallpass | isfixed | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |