Quantizer
Samples the input signal at a predetermined interval.
blockType: Quantizer
Path in the library:
|
Description
Block Quantizer samples the input signal using a quantization algorithm. The block uses the method of rounding to the nearest to match the signal values with the quantized values at the output, which are determined by the Quantization interval parameter. The smooth input signal can take the form of a step after quantization.
The following equation describes the method of rounding to the nearest:
Where — Quantized output signal, — input signal, and — Quantization interval.
Ports
Parameters
Quantization interval — the interval that determines the quantization levels for the output signal
0.5 (By default)
| scalar
| vector
| matrix
Specifies the quantization interval used in the algorithm. Quantization levels for block output Quantizer are integers that are multiples of the Quantization interval.
Block parameter |
|
Values |
|
By default |
|