What is quantizer block in Simulink?
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.
How do you create a quantizer in Matlab?
y = quantize( q , x ) uses the quantizer object q to quantize x . When x is a numeric array, each element of x is quantized. The output y is returned as a built-in double. When x is a cell array, each numeric element of the cell array is quantized.