Professional Documents
Culture Documents
Eee 321 Assignment 1 232
Eee 321 Assignment 1 232
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.
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,
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.
6. Create a Simulink model which will create a modulated signal combining both AM and
FM (both amplitude and frequency will vary)