Determine whether filter uses real coefficients
isreal(hd) returns 1 (or
true) if all filter coefficients for the filter hd are
real, and returns 0 (or false) otherwise. Complex
filters have one or more coefficients with nonzero imaginary parts.
isreal(hs) determines whether
the filter coefficients of the filter System object™ hs are
real, returning 1 if true and 0 if
Quantizing a filter cannot make a real filter into a complex
Create a double-precision filter and a fixed-point filter. Then,
test the coefficients of the fixed-point filter to see if they are
% Returns a 1
Was this topic helpful?