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

PSfrag replacements
PROBLEM:
The following M ATLAB program makes a plot of a “cosine-times-cosine” signal:
tt = 0:0.01:2;
xx = cos(15*pi*tt) .* cos(2pi*tt);
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 of
the signal represented by 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.