Filter Design Toolbox    
wordlength

Return the word length for a quantizer

Syntax

Description

wordlength(q) returns the word length of quantizer q.

Examples

returns 16.

Even though the word length can be read in two stages,

it is handy to have it available for use in equations. For example, the algorithm for realmax(q) when q is a signed fixed-point quantizer (q.mode = 'fixed') is

which can be coded as

See Also
fractionlength, exponentlength


  unitquantizer zpkbpc2bpc 

Learn more about the latest releases of MathWorks products:

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