# 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 ```

collapse all

### Algorithms

If `q` is a floating-point `quantizer` object, $x={2}^{{E}_{min}}$ where ${E}_{min}=\mathrm{exponentmin}\left(q\right)$ is the minimum exponent.

If `q` is a signed or unsigned fixed-point `quantizer` object, $x={2}^{-f}=\epsilon$ where f is the fraction length.