Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

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.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced before R2006a

Was this topic helpful?