realmin

Smallest positive normalized fixed-point value or quantized number

Syntax

x=realmin(a)
x=realmin(q)

Description

x=realmin(a) is the smallest positive real-world value that can be represented in the data type of fi object a. Anything smaller than x underflows or is an IEEE® "denormal" number.

x=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

More About

expand all

Algorithms

If q is a floating-point quantizer object, x=2Emin where Emin=exponentmin(q) is the minimum exponent.

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

Was this topic helpful?