denormalmax - Largest denormalized quantized number for quantizer object

Syntax

x = denormalmax(q)

Description

x = denormalmax(q) is the largest positive denormalized quantized number where q is a quantizer object. Anything larger than x is a normalized number. Denormalized numbers apply only to floating-point format. When q represents fixed-point numbers, this function returns eps(q).

Examples

q = quantizer('float',[6 3]);
x = denormalmax(q)

x =

    0.1875

Algorithm

When q is a floating-point quantizer object,

denormalmax(q) = realmin(q) - denormalmin(q)

When q is a fixed-point quantizer object,

denormalmax(q) = eps(q)

See Also

denormalmin, eps, quantizer

  


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