Discretize input at given interval
Simulink / Discontinuities
The Quantizer block discretizes the input signal using a quantization algorithm. The block uses a round-to-nearest method to map signal values to quantized values at the output that are defined by the Quantization interval. A smooth input signal can take on a stair-step shape after quantization.
This equation mathematically describes the round-to-nearest method:
y = q * round(u/q)
where y
is the quantized output, u
is the input, and
q
is the Quantization interval.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|