Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

PULSE POSITION MODULATION AND

DEMODULATION (PPM)
AIM:To verify the wave forms of pulse position modulation and demodulation.

APPARATUS:

1.personal computer.
2.MATLAB2010.

PROGRAM:

clc;
clear all;
close all;
fc=100;
fs=1000;
f1=200;
f2=1000;
t=0:1/fs:((2/f1)-(1/fs));
x=0.4*cos(2*pi*f1*t)+0.5;
subplot(3,1,1);
plot(x);
title('messgae signal');
subplot(3,1,2);
y=modulate(x,fc,fs,'ppm');
plot(y);
title('ppm modulation');
subplot(3,1,3);
z=demod(y,fc,fs,'ppm');
plot(z);
title('demodulated output');

RESULT:

You might also like