Filter Design Toolbox    
exponentlength

Return the exponent length of a quantizer

Syntax

Description

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

Examples

returns the value e = 11.

Algorithm

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

See Also
eps, exponentbias, exponentmax, exponentmin


  exponentbias exponentmax 

Learn more about the latest releases of MathWorks products:

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