0% found this document useful (0 votes)
1K views1 page

6.PPM Matlab Program

This document describes an experiment using MATLAB to generate and verify pulse position modulation (PPM) and demodulation waveforms. The MATLAB program defines a message signal, uses it to generate a PPM modulated signal, and then demodulates the signal back to the original message. The program outputs the message signal, PPM modulated signal, and demodulated signal in 3 subplots to verify the PPM modulation and demodulation process.

Uploaded by

rambabu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views1 page

6.PPM Matlab Program

This document describes an experiment using MATLAB to generate and verify pulse position modulation (PPM) and demodulation waveforms. The MATLAB program defines a message signal, uses it to generate a PPM modulated signal, and then demodulates the signal back to the original message. The program outputs the message signal, PPM modulated signal, and demodulated signal in 3 subplots to verify the PPM modulation and demodulation process.

Uploaded by

rambabu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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