chap3 hw Spectrum of (cos)(sin) Defined by MATLAB Code

PSfrag replacements
PROBLEM:
The following M ATLAB program makes a plot of a “cosine-times-sine” signal:
tt = 0:0.01:2;
xc = cos(21*pi*tt);
xs = sin(3pi*tt);
xx = xc .* xs;
plot(tt,xx)
(a) Make a sketch of the plot that will be done by M ATLAB. Label the time axis carefully.
(b) The “spectrum” diagram gives the frequency content of a signal. Draw a sketch of the spectrum for
each of the three signals represented by xc, xs and xx. Label the frequencies and complex amplitudes
of each component.
McClellan, Schafer and Yoder, Signal Processing First, ISBN 0-13-065562-7.
c 2003 Pearson Education, Inc.
Prentice Hall, Upper Saddle River, NJ 07458. SOLUTION
McClellan, Schafer, and Yoder, Signal Processing First, ISBN 0-13-065562-7.
Prentice Hall, Upper Saddle River, NJ 07458. © 2003 Pearson Education, Inc.