exponentmax - Maximum exponent for quantizer object

Syntax

exponentmax(q)

Description

exponentmax(q) returns the maximum exponent for quantizer object q. When q is a fixed-point quantizer object, it returns 0.

Examples

q = quantizer('double');
emax = exponentmax(q)

emax =

        1023

Algorithm

For floating-point quantizer objects,

For fixed-point quantizer objects, by definition.

See Also

eps, exponentbias, exponentlength, exponentmin

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS