02.10.2019 Views

UploadFile_6417

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

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

32 Chapter 2 DISCRETE-TIME SIGNALS AND SYSTEMS<br />

2<br />

Real Part<br />

1<br />

Imaginary Part<br />

1<br />

0<br />

0<br />

−1<br />

−2<br />

−1<br />

−3<br />

−10 −5 0 5 10<br />

n<br />

3<br />

Magnitude Part<br />

−2<br />

−10 −5 0 5 10<br />

n<br />

200<br />

Phase Part<br />

2<br />

100<br />

0<br />

1<br />

−100<br />

0<br />

−10 −5 0 5 10<br />

n<br />

−200<br />

−10 −5 0 5 10<br />

n<br />

FIGURE 2.3 Complex-valued sequence plots in Example 2.3<br />

Solution<br />

MATLAB script:<br />

>> n = [-10:1:10]; alpha = -0.1+0.3j;<br />

>> x = exp(alpha*n);<br />

>> subplot(2,2,1); stem(n,real(x));title(’real part’);xlabel(’n’)<br />

>> subplot(2,2,2); stem(n,imag(x));title(’imaginary part’);xlabel(’n’)<br />

>> subplot(2,2,3); stem(n,abs(x));title(’magnitude part’);xlabel(’n’)<br />

>> subplot(2,2,4); stem(n,(180/pi)*angle(x));title(’phase part’);xlabel(’n’)<br />

The plot of the sequence is shown in Figure 2.3.<br />

□<br />

2.1.3 DISCRETE-TIME SINUSOIDS<br />

In the last section we introduced the discrete-time sinusoidal sequence<br />

x(n) =A cos(ω 0 n + θ 0 ), for all n as one of the basic signals. This signal<br />

is very important in signal theory as a basis for Fourier transform and<br />

in system theory as a basis for steady-state analysis. It can be conveniently<br />

related to the continuous-time sinusoid x a (t) =A cos(Ω 0 t + θ 0 )<br />

using an operation called sampling (Chapter 3), in which continuous-time<br />

sinusoidal values at equally spaced points t = nT s are assigned to x(n).<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

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

Saved successfully!

Ooh no, something went wrong!