denormalmin - Smallest denormalized quantized number for quantizer object

Syntax

x = denormalmin(q)

Description

x = denormalmin(q) is the smallest positive denormalized quantized number where q is a quantizer object. Anything smaller than x underflows to zero with respect to the quantizer object q. Denormalized numbers apply only to floating-point format. When q represents a fixed-point number, denormalmin returns eps(q).

Examples

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

x =

    0.0625

Algorithm

When q is a floating-point quantizer object,

where Emin is equal to exponentmin(q).

When q is a fixed-point quantizer object,

where f is equal to fractionlength(q).

See Also

denormalmax, eps, quantizer

  


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