Quantizes an integer input signal using fixed-point rounding.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description |
|---|---|
| Quantization | Contains the following option:
|
| Rounding Mode | Contains the following options:
|
| Result Preview | Previews the behavior of the function for the selected Interval (bits). The options in this section do not affect the behavior of the quantizer but allow you to see how the quantizer affects any integer input.
|
| Parameter | Description |
|---|---|
| input | The value you want to quantize. input is a 32-bit signed integer. |
| Parameter | Description |
|---|---|
| output | The quantized input. output = [input / 2n] * 2n where n is equal to the configured interval (bits) and the [] operator indicates a fixed-point quantization operation that discards the lowest n bits using the specified Rounding Mode. |