Quantizer by level

| Vector | C |
в палитре на схеме

The block implements the signal quantization by discrete levels with a set level step. Operation algorithm of the block:

where xi(t) is the i-th element of the block input signal, di is i-th element of quantiztion step vector, floor is the integer-downward rounding function, sign is the sign function, yi(t) is the element of the block output signal.

Входные порты

  • input - input signal.

Выходные порты

  • output - output signal.

Свойства

  • Quantization step – vector of d steps of quantization by each element of the input vector. The dimension of the parameter shall be equal with the dimension of the input vector.

Параметры

none

Прим.:
  1. By default, the block implements scalar input signal processing.
  2. Using this block you can easily implement the algorithm of signal processing of analog-to-digital converter (ADC).