Modulation-Analog Communication-Matlab Codes, Exercises of Analog Communication

This is code in MATLAB. Its soution to lab assignment by Sir Bhanuprasad Venkatesan at Shree Ram Swarup College of Engineering and Management for Analog Communication course. It includes: Close, Square, Modulating, Signal, Plot, CArrier, Sawtooth Title, Am, Fm

Typology: Exercises

2011/2012

Uploaded on 07/30/2012

gajkaraan
gajkaraan 🇮🇳

4.6

(16)

45 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
close all
fs = 500;
t = 0:(1/fs):4;
Am=25;
fm = 0.5;
tm = 1/fm;
fc = 10;
kf = pi/4;
kp = pi/3;
m = Am*square(2*pi*fm*t);
intm = (Am/2)+(Am/2)*sawtooth(2*pi*fm*t,0.5);
c=cos(2*pi*fc*t);
fm = cos(2*pi*fc*t+kf*intm);
pm = cos(2*pi*fc*t+kp*m);
subplot(4,1,1)
plot(t,m)
title 'Modulating Signal'
subplot(4,1,2)
plot(t,c)
title 'Carrier Signal'
subplot(4,1,3)
plot(t,fm)
title 'Frequency Modulation'
subplot(4,1,4)
plot(t,pm)
title 'Phase Modulation'
docsity.com

Partial preview of the text

Download Modulation-Analog Communication-Matlab Codes and more Exercises Analog Communication in PDF only on Docsity!

close all fs = 500; t = 0:(1/fs):4; Am=25; fm = 0.5; tm = 1/fm; fc = 10; kf = pi/4; kp = pi/3; m = Amsquare(2pifmt); intm = (Am/2)+(Am/2)sawtooth(2pifmt,0.5); c=cos(2pifct); fm = cos(2pifct+kfintm); pm = cos(2pifct+kp*m); subplot(4,1,1) plot(t,m) title 'Modulating Signal' subplot(4,1,2) plot(t,c) title 'Carrier Signal' subplot(4,1,3) plot(t,fm) title 'Frequency Modulation' subplot(4,1,4) plot(t,pm) title 'Phase Modulation'

docsity.com