realmin

Smallest positive normalized fixed-point value or quantized number

Syntax

realmin(a)
realmin(q)

Description

realmin(a) is the smallest real-world value that can be represented in the data type of fi object a. Anything smaller underflows.

realmin(q) is the smallest positive normal quantized number where q is a quantizer object. Anything smaller than x underflows or is an IEEE® "denormal" number.

Examples

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

x =

    0.2500

Algorithm

If q is a floating-point quantizer object, where is the minimum exponent.

If q is a signed or unsigned fixed-point quantizer object, where f is the fraction length.

See Also

eps, exponentmax, exponentmin, fractionlength, intmax, intmin, lowerbound, lsb, range, realmax, upperbound

  


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