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

Md-Sarwar Hosen Roll No - 131076: Assignment Topic

This document contains an assignment submission by student Md- Sarwar hosen with roll number 131076. The assignment was to create a MATLAB program to plot the amplitude modulated output waveform. The MATLAB program defines variables for the carrier wave frequency, modulating frequency, and modulation index. It generates the carrier wave, upper and lower sideband waves, and plots the combined amplitude modulated output waveform over 300 time units.
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)
42 views2 pages

Md-Sarwar Hosen Roll No - 131076: Assignment Topic

This document contains an assignment submission by student Md- Sarwar hosen with roll number 131076. The assignment was to create a MATLAB program to plot the amplitude modulated output waveform. The MATLAB program defines variables for the carrier wave frequency, modulating frequency, and modulation index. It generates the carrier wave, upper and lower sideband waves, and plots the combined amplitude modulated output waveform over 300 time units.
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/ 2

Md- Sarwar hosen

Roll No- 131076

Assignment Topic:MATLAB program to plot the amplitude modulated output waveshape.

MATLAB Program:clc
clear all
pi=3.1416;
t=0:.5:300;
vc=1;
m=.5;
fc=100*10^6;
fm=3*10^3;
y1=vc*sin(2*pi*fc*t);
y2=((m*vc)/2)*cos(2*pi*(fc-fm)*t);
y3=((m*vc)/2)*cos(2*pi*(fc+fm)*t);
y=y1+y2-y3;
plot(t,y,'b');

Output:-

2
1.5
1
0.5
0
-0.5
-1
-1.5
-2

50

100

150

200

250

300

You might also like