An analog signal enters a PCM (Pulse Code Modulation) system with eight quantization levels as shown in the figure below, where the lowest amplitude level is level 0 and the highest amplitude level is level 7.
Amplitude
t (sec)
0
1
2
3
4
a) [2 points] Assuming the spacing of two consecutive levels = 5V, write down the amplitude value at each quantization level.
b) [3 points] Write down the PCM output (bit sequence) of the presented signal in the figure above. Sampling times are at t = 0, 1, 2, 3, and 4 seconds. The quantization code is shown in the table below.
Quantization Level Code
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
Note: Write down detailed steps which lead to the final answer to get the full mark.