Professional Documents
Culture Documents
Loop
Loop
analogue signals into the binary representations that they correspond to. The chart that
is presented gives a detailed breakdown of each step that is required for PCM encoding
as well as decoding. The first picture shows that the basic signal. It is a sine wave with a
frequency of 2, and it represents the analogue signal. In the second figure, we see the
representation of a sampling signal. This transforms continuous time to discrete time.
Mostly it has a sample frequency that is more than 2 fm. The third subfigure of the
figure depicts the quantized signal. It rounds the amplitude before becoming a digital
signal. Later it transforms the digital signal to binary code. The last subfigure shows the
decoded signal. It transforms binary data into a digital signal. The completed signal is
called as the reconstructed signal. It has the exact same characteristics as the analog
signal.
Using a “for” loop and “if” statements in the Matlab code to encode quantized data to
binary bits (three bits) in a transmitter. It is the responsibility of the receiver to
transform the binary numbers into the quantized values that correspond to them.
Reconstructing the basic signal by using the filter and butter operations respectively.