reffilter
Reference filter for fixed-point or single-precision filter
Syntax
href = reffilter(hd)
Description
href = reffilter(hd) returns
a new filter href that has the same structure as hd,
but uses the reference coefficients and has its arithmetic property
set to double. Note that hd can
be either a fixed-point filter (arithmetic property set to 'fixed',
or a single-precision floating-point filter whose arithmetic property
is 'single').
reffilter(hd) differs from
double(hd) in that
the filter
hrefreturned byreffilterhas the reference coefficients ofhd.double(hd)returns the quantized coefficients ofhdrepresented in double-precision.
To check the performance of your fixed-point filter, use href = reffilter(hd) to quickly have the floating-point, double-precision
version of hd available for comparison.
Examples
Version History
Introduced in R2011a
