Order of fixed-point filter
n = order(hq)
n = order(hs)
n = order(hq) returns
n of the quantized filter
hq is a single-section filter,
the number of delays required for a minimum realization of the filter.
hq has more than one section,
the number of delays required for a minimum realization of the overall
n = order(hs) returns the
n of the filter System object™
The order depends on the filter structure and the reference double-precision
hs can be one of the
following filter structures.
The following Filter System objects are supported by this analysis function:
|Filter System objects|
Create a discrete-time filter, quantize it, and convert it to
second-order section form. Then, use
order to check
the order of the filter.
[b,a] = ellip(4,3,20,.6); % Create the reference filter. hq = dfilt.df2(b,a); % Quantize the filter and convert to second-order sections. set(hq,'arithmetic','fixed'); n=order(hq); % Check the order of the overall filter.