Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Point Toolbox   

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

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

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