normalize
Normalize filter numerator or feed-forward coefficients
Syntax
normalize(hq)
g = normalize(hd)
Description
normalize(hq)
normalizes the filter numerator
coefficients for a quantized filter to have values between -1 and 1. The coefficients of
hq
change — normalize
does not copy
hq
and return the copy. To restore the coefficients of
hq
to the original values, use
denormalize
.
Note that for lattice filters, the feed-forward coefficients
stored in the property lattice
are normalized.
g = normalize(hd)
normalizes
the numerator coefficients for the filter hq
to
between -1 and 1 and returns the gain g
due to
the normalization operation. Calling normalize
again
does not change the coefficients. g
always returns
the gain returned by the first call to normalize the filter.
Examples
Version History
Introduced in R2011a