Communications Blockset | ![]() ![]() |
Quantize a signal, using trigger to control processing
Library
Description
The Enabled Quantizer Encode block performs quantization when a trigger signal occurs. This block is similar to the Sampled Quantizer Encode block, except that a trigger signal at the second input port controls the quantization processing. This block renews its output when the scalar trigger signal is nonzero. For more about quantization, see the reference page for the Sampled Quantizer Encode block.
This block has two input ports and three output ports. The first input signal is the data to be quantized, while the second is the trigger signal that controls the timing of quantization. The three output signals represent the quantization index, quantization value, and mean square distortion, respectively.
The first input can be either a scalar, a sample-based vector, or a frame-based row vector. This block processes each vector element independently. Each output signal is a vector of the same length as the first input signal. The trigger input must be a scalar.
Dialog Box
Pair Block
See Also
![]() | DSBSC AM Modulator Passband | Error Rate Calculation | ![]() |