Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING

NORTH SOUTH UNIVERSITY

EEE 321, ETE 321 – Introduction to Communication Systems


Lab Assignment 01
Submission Deadline: Day before Lab Midterm Exam

 Write your name, id, and section at the beginning of each code as comments.
 Write your name, id, and section as a part of suptitle( ) or sgtitle( ) of all graphs.
 Write your name, id, and section on your SIMULINK model.

1. For time, t = [0~0.2], Suppose a signal 𝑠𝑡 = cos(200𝑡) + cos(100𝑡) + cos(50𝑡)


Now, plot its frequency spectrum using Fast Fourier Transformation.

2. Suppose you have multiple signal sources with four different frequencies where
f1=4, f2=3, f3=2, f4=1 and A1=A2=A3=A4=1
Together these signals form the message (modulating) signal. Now similar to the lab
experiment, write down the MATLAB code to generate the DSB Amplitude Modulated
signal, and then recover the original signal (generate the Demodulated signal) from the
modulated signals. Use a carrier signal of frequency fc=30. Show all the graphs.

Hints: Let, Input Sinusoidal Signal has four different frequencies and Amplitudes shown
in the figure below. Now consider input signal and perform same as in the lecture notes.
Use ammod(~) and amdemod(~) functions.

3. Now design the same system using SIMULINK. Show the model and all the graphs.

Hints: First, take four signals from four sources, add them to create message signal. Set
their frequencies, keep it in hertz instead of rad/sec. Do modulation and demodulation.
Use transfer function of a low pass filter for noise reduction.
4. We know, the equation of FM signal, s(t) can be described as
𝑡
𝑠(𝑡) = cos⁡[𝑤𝑐 𝑡 + ⁡𝛥𝑤 ∫ 𝑚(𝑡)𝑑𝑡]
0

Now, derive the equation of 𝑠(𝑡) for the following message signal,

(a) 𝑚(𝑡) = sin(𝑤𝑚 𝑡)


(b) 𝑚(𝑡) = t

Then using that equation, create a MATLAB program to plot⁡⁡𝑠(𝑡). Choose time = [0~3],
carrier frequency fc = 10 Hz, frequency deviation Δf = 6 Hz, and modulation index 6.

5. Consider a message signal 𝑚(𝑡) = sin(2𝜋𝑓𝑚 𝑡) + sin(6𝜋𝑓𝑚 𝑡),⁡⁡for⁡⁡[0 ≤ 𝑡 ≤ 3],⁡⁡write


down a MATLAB program to perform frequency modulation and demodulation using
built-in functions fmmod( ) and fmdemod( ) if message signal frequency, fm = 2 Hz, carrier
signal frequency, fc = 50 Hz, frequency deviation, Δf = 20 Hz, and sampling rate, fs = 1000

6. Create a Simulink model which will create a modulated signal combining both AM and
FM (both amplitude and frequency will vary)

7. What are the advantages and disadvantages of both AM and FM?

You might also like