This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Exponent length of quantizer object


e = exponentlength(q)


e = exponentlength(q) returns the exponent length of quantizer object q. When q is a fixed-point quantizer object, exponentlength(q) returns 0. This is useful because exponent length is valid whether the quantizer object mode is floating point or fixed point.


q = quantizer('double');
e = exponentlength(q)

e =



The exponent length is part of the format of a floating-point quantizer object [w e]. For fixed-point quantizer objects, e = 0 by definition.

Introduced before R2006a

Was this topic helpful?