University of Information Technology and Communications: 2. Quantization & Encoding
University of Information Technology and Communications: 2. Quantization & Encoding
and Communications
College of Engineering
Exp. (2.)
Prepared by:
A. S(t)= 3cos5t
B. S(t)= 2sin3t
Discussion
Now we should know that sampling samples the signal at regular intervals each Ts
sec such that each sample is proportional to the amplitude of signal at that instant.
And the quantization maps the input values from a large set to the output values in
a smaller set.
4bits
B)
Now we change the number of bits to 16 bits
A
B
Discussion
Next, after finishing the sampling and quantizing stages, we will start
the last operation which is the encoding operation. In this operation, a
uniform encoder block was used to convert the quantized output into a
sequence of binary information in order to send it through any
medium. with this block I used two number of bits, 4bits and 16bits.
Above, I displayed you both of the 4 and 16 stages and we can clearly
see the difference in the amplitude, when using 4 bits, the amplitude
was equal to 10 because 4bits mean a representation for 16 levels, but
when I increased it to 16 bits, the amplitude value was clearly increased
to a very large number that is the representation of 2^16 levels and
for example setting it to 8bits will give us a representation for 2^8 levels
and so on.
this puts us into the fact that increasing number of bits means
increasing the amplitude and thus increasing the including of levels.