| Filter Design Toolbox | ![]() |
Return the quantized relative accuracy for quantized filters, quantizers, and quantized FFTs
Syntax
Description
returns the quantization level of quantizer object eps(q)
q, or the distance from 1.0 to the next largest floating-point number when q is a floating-point quantizer object.
returns the quantization level of quantized filter eps(hq)
hq, or the distance from 1.0 to the next largest floating-point number when hq is a floating-point quantized filter.
returns the quantization level of quantized FFT eps(f)
f, or the distance from 1.0 to the next largest floating-point number when f is a floating-point quantized FFT.
Examples
returns the value 0.25. The following code
coefficient 3.051757813e-005 input 3.051757813e-005 output 3.051757813e-005 multiplicand 3.051757813e-005 product 9.313225746e-010 sum 9.313225746e-010
for the quantizers in the quantized filter, and
coefficient 3.051757813e-005 input 3.051757813e-005 output 3.051757813e-005 multiplicand 3.051757813e-005 product 9.313225746e-010 sum 9.313225746e-010
for the quantizers in the quantized FFT.
Algorithm
For fixed-point or floating-point numbers,
where e is the relative accuracy of the quantizer and f is the fraction length of the quantizer.
See Also
eps, exponentbias, exponentlength, exponentmax, exponentmin
| disp | errmean | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |