PARSEFILT Procedure
Parses a filter structure and returns the individual members of the structure.
Usage
PARSEFILT, h, name, b, a
Input Parameters
h—A filter structure.
Returned Value
name—A scalar string containing the name field of the filter.
b—The coefficients of the numerator polynomial of the filter.
a—The coefficients of the denominator polynomial of the filter.
Keywords
None.
Discussion
PARSEFILT parses a filter structure, H(z):
and returns the individual coefficients of the numerator and the denominator polynomials of the structure.
Example
In this example, an IIR filter is created using IIRDESIGN, and the individual parts of the filter are extracted using PARSEFILT.
h = IIRDESIGN(7, .5, /Butter)
PARSEFILT, h, name, b, a
PM, name, Title = 'Filter name:'
PM, b, Title = 'Numerator Coefficients:'
PM, a, Title = 'Denominator Coefficients:'
See Also