User`s guide

Uniform Encoder
5-471
Inputs can be real or complex, double or single precision. The output data types
that the block uses are shown in the table below. Note that most of the blocks
in the DSP Blockset accept only double precision inputs. Use the Simulink
Data Type Conversion block to convert integer data types to double precision.
See “Working with Data Types” in the Simulink documentation for a complete
discussion of data types, as well as a list of Simulink blocks capable of
reduced-precision operations.
The Uniform Encoder block operations adhere to the definition for uniform
encoding specified in ITU-T Recommendation G.701.
Example The figure below illustrates uniform encoding with the following parameter
settings:
Peak = 2
Bits = 3
Output type = Unsigned
Bits Unsigned Integer Signed Integer
2
to 8 uint8 int8
9
to 16 uint16 int16
17
to 32 uint32 int32
−3 −2 −1 0 1 2 3
−1
0
1
2
3
4
5
6
7
8
Input Value (real or imaginary component)
Output Value (real or imaginary component)