User`s guide
Uniform Decoder
5-467
Signed input values, u, greater than 2
B-1
-1 or less than -2
B-1
 are wrapped back 
into that range using mod-2
B
 arithmetic.
u = (mod(u+2^B/2,2^B)-(2^B/2)) % Equivalent MATLAB code
The real and imaginary components of complex inputs wrap independently.
The 
Output type parameter specifies whether the decoded floating-point 
output is single or double precision. Either level of output precision can be used 
with any of the six integer input data types. 
Example Consider a Uniform Decoder block with the following parameter settings:
•
Peak = 2
•Bits = 3
The input to the block is the uint8 output of a Uniform Encoder block with 
comparable settings: 
Peak = 2, Bits = 3, and Output type = Unsigned. 
(Comparable settings ensure that inputs to the Uniform Decoder block do not 
saturate or wrap. See the example on the Uniform Encoder reference page for 
more about these settings.) 
The real and complex components of each input are independently mapped to 
one of 2
3
 distinct levels in the range [-2.0,1.5].
0 is mapped to -2.0
1 
is mapped to -1.5
2 
is mapped to -1.0
3 
is mapped to -0.5
4 
is mapped to 0.0
5 
is mapped to 0.5
6 
is mapped to 1.0
7 
is mapped to 1.5










