You are on page 1of 3

Lab 02 : Frequency Modulation

Institute of Information & Communication Technologies


Mehran University of Engineering & Technology, Jamshoro, Pakistan
Communication Systems
Lab 02
Roll Number ____________

Frequency Modulation
1.1 Performance Objectives
After this lab, you should be able to:
Learn about frequency modulation
To plot the FM modulated and demodulated waveforms in Matlab

1.2 Equipment Required

PC with Windows
MATLAB 6.5 or latest with Signal Processing and Communication Toolbox

1.3 Frequency Modulation


In telecommunications and signal processing, frequency modulation (FM)
is the encoding of information in a carrier wave by varying the
instantaneous frequency of the wave. (Compare with amplitude
modulation, in which the amplitude of the carrier wave varies, while the
frequency remains constant.)

Program
%FREQUENCY MODULATION

Fs = 10000; % Sampling rate of signal


Fc = 200; % Carrier frequency
t = [0:Fs-1]'/Fs; % Sampling times
x = sin(2*pi*t);
subplot(3,1,1); plot(x);
title('Modulating Signal')
dev = 100; % Frequency deviation in modulated signal
Institute of information & Communication Technology (IICT), MUET

Lab 02 : Frequency Modulation


y = fmmod(x,Fc,Fs,dev); % Modulate .
subplot(3,1,2); plot(y);
title('FM Modulated waveform')
z = fmdemod(y,Fc,Fs,dev); % Demodulate both channels.
subplot(3,1,3); plot(z);
title('FM deModulated waveform')

Modulating Signal

1
0
-1

1000

2000

3000

4000

5000

6000

7000

8000

9000 10000

7000

8000

9000 10000

8000

9000 10000

FM Modulated waveform

1
0
-1

1000

2000

3000

4000

5000

6000

FM deModulated waveform

2
0
-2

1000

2000

3000

4000

5000

6000

7000

1.4 Review Questions


1. Generate an FM waveform with frequency deviation of 20? Write code that
should be entitled with your roll number for demodulated signals .
_________________________________________________________________________________
____
_________________________________________________________________________________
____
Institute of information & Communication Technology (IICT), MUET

Lab 02 : Frequency Modulation

_________________________________________________________________________________
____
2. How many sidebands are generated in Frequency Modulation? Why?
_________________________________________________________________________________
____
_________________________________________________________________________________
____
_________________________________________________________________________________
____

3.What do you mean by pre-emphasis and de-emphasis in modulation?


_________________________________________________________________________________
____
_________________________________________________________________________________
____
_________________________________________________________________________________
____
4.What are some advantages of FM over AM?
_________________________________________________________________________________
____
_________________________________________________________________________________
____
_________________________________________________________________________________
____

Institute of information & Communication Technology (IICT), MUET

You might also like