06.06.2022 Views

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.8 MATLAB Exercises 245

title ('PM signal');

figure (3)

subplot (211) ;fpl=plot (t,s_fmdem ) ;

set (fpl , 'Linewidth ' , 2) ;

xlabel ('{\it t} (sec ) '); ylabel ('{\it d s}_{\rm FM} ( {\it t} )/dt ')

title ('FM derivative ');

subplot (212 ) ;fp2=plot (t, s_fmrec ) ;

set (fp2 , 'Linewidth ' , 2) ;

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

title ('rectified FM derivative ');

Frange= [-600 600 0 300] ;

figure (4)

subplot (211) ; fdl=plot (freqs , abs (S_fm) );

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

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

title ('FM amplitude spectrum' );

subplot (212 ) ;fd2=plot (freqs,abs (S_pm) ) ;

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

xlabel ('{\i t f} (Hz) '); ylabel ('{\it S}_{\rm PM } ({\ it f}) ')

title ('PM amplitude spectrum' );

To obtain the demodulation results (Fig. 5 .20), a differentiator is first applied to change the

frequency-modulated signal into an amplitude- and frequency-modulated signal (Fig. 5.20).

Fi g ure 5.20

Signals at the

demodulator:

(a) after

differentiator;

(b) after rectifier.

5

I

FM derivative

n n

'

0

V

V

-5

----0.04

I

I

-0.03 -0.02

-0.01 0 0.01

t(sec)

I

0.02 0.03 0.04

5

I

Rectified FM derivative

4

3

2

0

-0.04

-0.03 -0.02

-0.0l 0

t(sec)

0.01

0.02 0.03 0.04

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

Saved successfully!

Ooh no, something went wrong!