Sie sind auf Seite 1von 2

AMPLITUDE MODULATION AND DEMODULATION DSB-SC

AIM: To verify the waveforms of amplitude modulation and demodulatin Double


sideband suppressed carrier.

APPARATUS:

1. PersonalComputer.
2. MATLAB 2010.

PROGRAM:
clc;
clear all;
close all;
t=linspace(0,0.02,10000);
fc=1000;
fm=200;
fs=10000;
Am=5;
Ac=10;
m=Am/Ac;
Wc=2*pi*fc*t;
Wm=2*pi*fm*t;
ec=Ac*sin(Wc);
em=Am*sin(Wm);
y=modulate(em,fc,fs,'amdsb-sc');
z=demod(y,fc,fs,'amdsb-sc');
l=10000;
AMPLITUDE MODULATION AND DEMODULATION DSB-SC

subplot(4,1,1);
plot(t,em);
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('MODULATING SIGNAL');
subplot(4,1,2);
plot(t,ec);
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('CARRIER SIGNAL');
subplot(4,1,3);
plot(t,y);
axis([0 0.02 -5 5]);
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('DSBSC MODULATED SIGNAL');
subplot(4,1,4);
plot(t,z);
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('DEMODULATED SIGNAL');

RESULT:

Das könnte Ihnen auch gefallen