Professional Documents
Culture Documents
Saadan Poc Lab 3
Saadan Poc Lab 3
SUBMITTED TO
LAB REPORT 3
Literature Background
Problem
Generate FM wave at different modulation index. Verify whether the
modulation index depends on the band width of FM modulated wave or
power.
Procedure (code)
clc;
clear all;
close all;
%% Intial Parameter
vm=5;
vc=5;
df=100;
t=0:1:200;
fm=10;
fc=10*fm;
fs=10*fc;
m=df/fm;
ts=t/fs;
ph=0;
%% information signal
x_m=cos(2*pi*fm*ts + ph);
figure
plot(ts,x_m)
title('Base Band Signal')
xlabel('time')
ylabel('magnitude')
grid on
%% FM Modulation
m_t=Ac*cos(2*pi*fc*ts+m.*x_m);
figure
plot(ts,m_t)
xlabel('time')
ylabel('Magnitude')
title('FM Modulation')
grid on
%% FFT of FM Modulation
N=1024;
Xc_fft=fft(m_t,N); %% FFT of carrier signal
Xc_sfft=abs(fftshift(Xc_fft)); %% Absolute FFT
fre=linspace(-fs/2,fs/2,N) ; %% Frequency range for FFT
figure
plot(fre,Xc_sfft) %% FFT plot of carrier signal
xlabel('Freq') %% x-axis label
ylabel('Magnitude') %% y-axis label
title ('FFT of FM Modulation') %% title of figure
legend('FFT of FM Modulation')
grid on
RESULTS
FIGURE 1
FIGURE 2
FIGURE 3
FIGURE 4
CONCLUSION :-
From the above calculations we conclude that moving from less than 1 modulation
index to 1 the power slightly increases while moving from 1 to 1.5 index the power
slightly decreases and again from 1.5 to 2 it increases slightly.
While bandwidth keep on increasing constantly with increase in modulation
index.
THE END