Communications Blockset    
Enabled Quantizer Encode

Quantize a signal, using trigger to control processing

Library

Source Coding

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

Quantization partition
The vector of endpoints of the partition intervals. The elements must be in strictly ascending order.
Quantization codebook
The vector of output values assigned to each partition.
Input signal vector length
The length of the input signal.

Pair Block

Quantizer Decode

See Also

Sampled Quantizer Encode


  DSBSC AM Modulator Passband Error Rate Calculation