Filter Design Toolbox    
exponentbias

Return the exponent bias for a quantizer

Syntax

Description

b = exponentbias(q) returns the exponent bias of the quantizer q. For fixed-point quantizers, exponentbias(q) returns 0.

Examples

returns the value b = 1023.

Algorithm

For floating-point quantizers, , where e = eps(q), and exponentbias is the same as the exponent maximum.

For fixed-point quantizers, b = 0 by definition.

See Also
eps, exponentlength, exponentmax, exponentmin


  euclidfactors exponentlength 

Learn more about the latest releases of MathWorks products:

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