0% found this document useful (0 votes)
13 views2 pages

AM Signal Modulation Analysis

Uploaded by

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

AM Signal Modulation Analysis

Uploaded by

mrxyz1006
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Experiment 1:

AM Signal for(Under modulated, perfectly modulated and over modulated


condition)

clc;
clear all;
close all;
ka=input("Enter different values of Ka: ");
%ka=[0.5 1 1.5];
r=ceil(length(ka)/2);
Am=1;
fm=50;
t=0:0.0001:0.1;
m=Am*cos(2*pi*fm*t);
subplot(r+1,2,1);
plot(t,m);
title("Message Signal");
Ac=1;
fc=500;
c=Ac*cos(2*pi*fc*t);
subplot(r+1,2,2);
plot(t,c);
title("Carrier Signal");
for i=1:length(ka)
x=c.*(1+ka(i)*m);
Amax=Ac*(1+ka(i)*Am);
Amin=Ac*(1-ka(i)*Am);
k=1;
l=1;
for j=1:length(t)
if(x(j)==Amax)
xmax(k++)=t(j);
elseif(x(j)==Amin)
xmin(l++)=t(j);
endif
endfor
subplot(r+1,2,i+2);
plot(t,x);
hold on;
grid('on')
title(["Ka= ",num2str(ka(i))," Amax= ",num2str(Amax)," Amin= ",num2str(Amin)],'FontSize',18);
plot(xmax,Amax, 'r*', 'MarkerSize', 2, 'LineWidth', 2);
plot(xmin,Amin, 'g*', 'MarkerSize', 2, 'LineWidth', 2);
hold off;
endfor;

You might also like