You are on page 1of 3

University of Zambia

School of Engineering
BEng –Year 4

EEE4682 Communication Principles

Laboratory Assignment1

Amplitude modulation using MATLAB

May 2020

CSL
1) AIM
1 To demostrate amplitude modulation
2 To depeen understanding in the use of matlab in signal processing
2) Theory
-Do some theoretical discussion on AM
-Include mathematical anaysis
3) Tools
i. Desktop
ii. Matlab simulation tool
4) Code to demostrate AM modulation

>>time =linspace (0,20,1000);

>> fm=300;

>> vc=4;

>> fc=1000;

>> m=0.5;

>> vm=2;

>> vs=vm*sin(2*pi*fm*time);

>> figure (1)

>> plot (time,vs)

>> carrier=vc*sin(2*pi*fc*time);

>> figure (2)

>> plot(time,carrier)

>> mess=vc*sin(2*pi*fc*time)+(((m^2)*(vc^2))/2)*sin(2*pi*(fc-fm)*time)+
(((m^2)*(vc^2))/2)*sin(2*pi*(fc+fm)*time);

>> figure (3)

>> plot (time,mess)

>> ms=vc*sin(2*pi*fc*time)+((vm^2)/2)*sin(2*pi*(fc-fm)*time)+((vm^2)/2)*sin(2*pi*(fc+fm)*time);

>> figure (4)

>> plot (time,ms)

Step 2

Suppress the carrier and the ‘mess’ equation and add the new eqaution as :
>> mess1= m^2)*(vc^2))/2)*sin(2*pi*(fc-fm)*time)+(((m^2)*(vc^2))/2)*sin(2*pi*(fc+fm)*time);

>> figure (5)

>> plot (time,mess1)

Step 3

Suppress the Upper sideband but keep the carrier and the lower sideband in the the ‘mess’
equation . Add the new eqaution as :

>> mess2 =vc*sin(2*pi*fc*time)+(((m^2)*(vc^2))/2)*sin(2*pi*(fc-fm)*time

>> figure (6)

>> plot (time,mess2)

Results and analysis

i. Plot figure 1 and analyse the figure


ii. Plots figure2 and analyse the figure
iii. Plot figure 3 and analyse the figure
iv. Plot figure 4 and analyse it
v. Plot figure 5 and analyse it
vi. Plot figure 6 and analyse it

Conclusion

From the theory and analysis of your results :

a) What are your conclusions?

b) Calcluate the total power, power in the side bands assuming a resistance of 1 ohm.

c) Calculate bandwidth of the AM system.

You might also like