Consider the sum of sinusoids in Problem 4.29.
a. Generate the sum of sinusoids for 240 samples using a sampling rate of 8,000 Hz.
b. Write a MATLAB program to compute and plot the amplitude spectrum of the signal x(n) with the FFT using each of the following window functions:
(1) Rectangular window (no window);
(2) Triangular window;
(3) Hamming window.
c. Examine the effect of spectral leakage for each window use in (b).
Problem 4.29
Consider three sinusoids with the following amplitudes and phases: