| Simulink Reference | ![]() |
Discretize input at a specified interval
Library
Description
The Quantizer block passes its input signal through a stair-step function so that many neighboring points on the input axis are mapped to one point on the output axis. The effect is to quantize a smooth signal into a stair-step output. The output is computed using the round-to-nearest method, which produces an output that is symmetric about zero.
where y is the output, u the input, and q the Quantization interval parameter.
Data Type Support
A Quantizer block accepts and outputs real or complex signals of type single or double.
Parameters and Dialog Box
n*q, where n is an integer and q the Quantization interval. The default is 0.5.Characteristics
| Direct Feedthrough |
Yes |
| Sample Time |
Inherited from driving block |
| Scalar Expansion |
Of parameter |
| Dimensionalized |
Yes |
| Zero Crossing |
No |
| Pulse Generator | Ramp | ![]() |