Introduction To Communication Systems Practicals: Name: Tejas Bobade PRN: 20210802198
Introduction To Communication Systems Practicals: Name: Tejas Bobade PRN: 20210802198
Introduction To Communication Systems Practicals: Name: Tejas Bobade PRN: 20210802198
Systems Practicals
Name: Tejas Bobade Batch: (A3)
PRN: 20210802198
Practical 1
% unit impulse t
= 0:1:4;
y=[zeros(1,2), ones(1,1), zeros(1,2)];
subplot(2,2,1) stem(t,y)
ylabel("d(n)") xlabel("Unit Impulse")
% unit step n = 7;
t = 0:1:6; y1 =
ones(1,n);
subplot(2,2,2)
stem(t,y1);
ylabel("Amplitude")
xlabel("Unit Step")
% unit ramp signal
n = 15; t = 0:1:n -
1; subplot(2,2,3)
stem(t,t)
ylabel("Amplitude")
xlabel("Unit Ramp")
#3 Implement low pass filter ,bandpass filter , high pass filter , bandstop filter
x = 2*sin(2*pi*250*t) + randn(size(t))/10;
figure(2) highpass(x,150,fs)
% bandstop filter
fs = 1e3; t =
0:1/fs:1;
x = 2*sin(2*pi*250*t) + randn(size(t))/10; figure(4)
bandstop(x,[100,200],fs)
Practical 4
t = 0:.02:6.28; y =
zeros(10,length(t)); x =
zeros(size(t)); for k =
1:2:19 x = x +
sin(k*t)/k;
y((k+1)/2,:) = x;
end subplot(2,2,4)
plot(t,y)
Practical 5
#5 Amplitude Modulation using MATLAB
am = 3; fm = 2; ac = 5;
fc = 60; t = 0:0.001:1;
em = am*sin(2*pi*fm*t);
subplot(3,1,1) plot(t,
em);
ec = ac*sin(2*pi*fc*t);
subplot(3,1,2) plot(t,ec) m =
am/ac; eam =
ac*(1+m*sin(2*pi*fm*t)).*ec;
subplot(3,1,3); plot(t,eam); y =
fft(eam); figure(2) plot(abs(y))
___________________________________________________________
Practical 6
mt = Am*cos(2*pi*fm*t);
st = Ac*cos(2*pi*fc*t + beta*sin(2*pi*fm*t));
subplot(2,1,1)
plot(t,mt)
title("Message Signal")
subplot(2,1,2)
plot(t, st)
title("Frequency Modulated Signal")
Practical 9
pt = Ac*(cos(2*pi*fc*t + kp.*(mt)));
subplot(4,1,3) plot(t,pt)
title("Phase Modulated Wave")
Practical 10