06.06.2022 Views

B. P. Lathi, Zhi Ding - Modern Digital and Analog Communication Systems-Oxford University Press (2009)

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

188 AMPLITUDE MODULATIONS AND DEMODULATIONS

subplot (223) ;td3=plot (t,s_dem) ;

axis ( Trange) ; set (td3 , 'Linewidth' ,1.5) ;

xlabel ('{\it t } (sec) '); ylabel ('{\it e } ({\ it t } )')

title('rectified signal without local carrier' );

subplot (224) ;td4=plot (t,s_rec) ;

Trangelow= (-0.025 0.025 -0.5 1] ;

axis ( Trangelow) ; set (td4 , 'Linewidth' ,1.5) ;

xlabel ('{\it t } (sec) '); ylabel ('{\it m } _d ( {\it t } )')

title('detected signal ');

Frange= (-700 700 0 200] ;

figure (2)

subplot (221) ; fdl=plot (freqrn, abs (M_fre) );

axis ( Frange) ; set (fdl , 'Linewidth ' ,1.5) ;

xlabel ('{\it f} (Hz) '); ylabel ('{\it M } ({\ it f}) ');

title('message spectrum' );

subplot (222) ;fd2 =plot ( freqs ,abs (S_am ) ) ;

axis ( Frange) ; set (fd2 , 'Linewidth ' ,1.5) ;

xlabel ('{\it f } (Hz) '); ylabel ('{\it S } _ { rm AM} ({\it f } ) ');

title ('AM spectrum' );

subplot (223) ;fd3=plot ( freqs,abs (S_dem) ) ;

axis ( Frange) ; set (fd3 , 'Linewidth' ,1.5) ;

xlabel ('{\it f} (Hz) '); ylabel ('{\it E } ( {\it f}) ');

title('rectified spectrum' );

subplot (224) ;fd4=plot (freqs,abs (S_rec ) ) ;

axis ( Frange) ; set (fd4 , 'Linewidth ' ,1.5) ;

xlabel ('{\it f} (Hz) '); ylabel ('{\it M } _d ( {\it f } )');

title('recovered spectrum' );

SSB-SC Modulation and Demodulation

To illustrate the SSC-SC modulation and demodulation process, this exercise generates an SSB­

SC signal using the same message signal m1 (t) with double triangles. The carrier frequency

is still 300 Hz. The MATLAB program ExampleSSBdemfil t. m performs this function.

Coherent demodulation is applied in which a simple low-pass filter with bandwidth of 150 Hz

is used to distill the recovered message signal.

The time domain signals are shown in Fig. 4.36, whereas the corresponding frequency

domain signals are shown in Fig. 4.37.

% (ExarnpleSSBdemfilt.m)

% This program uses triangl .m

% to illustrate SSB modulation % and demodulation

clear;clf;

ts=l .e-4 ;

t=-0 .04:ts:0.04;

Ta=0 .01; fc=300;

m_s ig=triangl ((t+0.01)/0.01)-triangl ((t-0 .01)/0.01) ;

Lm_s ig=length (m_sig) ;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!