Filter Design Toolbox    
nunderflows

Return the number of underflows from the most recent quantizer operation

Syntax

Description

nunderflows(q) is the number of underflows during a call to quantize(q,...) for quantizer object q. An underflow is defined as a number that is nonzero before it is quantized, and zero after it is quantized. The number of underflows accumulates over successive calls to quantize. Use the function reset(q) to return nunderflows to zero.

Examples

By looking at x and y, you can see which ones went to zero.

See Also
denormalmin, eps, quantize, quantizer, reset


  numberofsections optimizeunitygains 

Learn more about the latest releases of MathWorks products:

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