Quantizer
Discretises the input signal at the specified interval.
Description
The Quantizer block discretises the input signal using a quantization algorithm. The block uses rounding to the nearest to compare the signal values with the quantised output values, which are defined by the Quantization interval parameter. A smooth input signal may take the form of a step after quantisation.
The following equation describes the rounding to nearest method:
y = q * round(u/q)
.
where y
is the quantised output signal, u
is the input signal, and q
is the Quantization interval.
Ports
Parameters
Quantisation interval - interval defining quantization levels for the output signal
0.5 (by default)
| scalar
| vector
| matrix
Specifies the quantisation interval used in the algorithm. Quantisation levels for output data of Quantizer block are integers multiple of Quantisation interval.
Block parameter |
|
Values |
|
*By default |
|