Frequency Modulation and Demodultion (FM) : All All

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

FREQUENCY MODULATION AND DEMODULTION(FM)

AIM: To verify the waveforms of frequency modulation and demodultion.

APPARATUS:

1. Personal Computer.
2. MATLAB 2010.

PROGRAM:

clc;
clear all;
close all;
fs=8000;
fc=100;
t=linspace(0,1,10000);
x=sin(2*pi*10*t);
dev=50;
y=fmmod(x,fc,fs,dev);
z=fmdemod(y,fc,fs,dev);
subplot(4,1,1),
plot(t,x)
xlabel('time(sec)');
ylabel('amplitude in volts(v)');
title('MODULATING SIGNAL');
subplot(4,1,2),
plot(t,sin(2*pi*fc*t))
FREQUENCY MODULATION AND DEMODULTION(FM)

xlabel('time(sec)')
ylabel('amplitude in volts(V)');
title('CARRIER SIGNAL');
subplot(4,1,3),
plot(t,y)
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('FREQUENCY MODULATED SIGANL');
subplot(4,1,4),
plot(t,z)
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('DEMODULATED SIGNAL');

RESULT:

You might also like