Pulse code modulation(PCM):
Pulse code modulation (PCM) data are transmitted as a serial bit stream of binary-coded time-division multiplexed words. When PCM is transmitted, premodulation filtering shall be used to confine the radiated RF spectrum in accordance with Appendix A. These standards define pulse train structure and system design characteristics for the implementation of PCM telemetry formats.
In Pulse code modulation a massage signal is converted to sample vertion discript time and discript amplitude.
MAT LAB CODE:
clear all;
close all;
clc;
F=10;
Fs=100*F;
t=0:1/Fs:1/F;
m=20*sin(2*pi*F*t);
N=10;
g=length(m)/N;
ms=m(1:g:end);
subplot(4,1,1)
plot(t,m);
subplot(4,1,2)
stem(ms);
Out put
MAT LAB CODE:
Manual input
clear all;
close all;
clc;
F=10;
Fs=100*F;
t=0:1/Fs:1/F;
m=20*sin(2*pi*F*t);
N=input ('Enter Number of samp');
g=length((m)/N);
ms=m(1:g:end);
subplot(4,1,1)
plot(t,m);
subplot(4,1,2)
stem(ms);
No comments:
Post a Comment