0% found this document useful (0 votes)
36 views

Frequency Modulation: Program

This document discusses frequency modulation (FM) in telecommunications. FM involves encoding information by varying the instantaneous frequency of a carrier wave. The document provides an example MATLAB code to generate an FM modulated waveform using a modulating signal, carrier frequency, sampling frequency, and frequency deviation. The code then demodulates the signal back to the original. Review questions at the end ask about generating an FM waveform with different deviations, the number of sidebands in FM and why, pre-emphasis and de-emphasis in modulation, and advantages of FM over AM.

Uploaded by

Tamoor Ali Sidhu
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)
36 views

Frequency Modulation: Program

This document discusses frequency modulation (FM) in telecommunications. FM involves encoding information by varying the instantaneous frequency of a carrier wave. The document provides an example MATLAB code to generate an FM modulated waveform using a modulating signal, carrier frequency, sampling frequency, and frequency deviation. The code then demodulates the signal back to the original. Review questions at the end ask about generating an FM waveform with different deviations, the number of sidebands in FM and why, pre-emphasis and de-emphasis in modulation, and advantages of FM over AM.

Uploaded by

Tamoor Ali Sidhu
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/ 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