Use matlab to generate n 128 samples of the signal given


a. Use MATLAB to generate N = 128 samples of the signal given as:

x(n) = 2cos(n15Π/64) + 3sin(n17Π/64)  n = 0,1,2,3,....,N

b. Compute the DFT of this sequence using the MATLAB FFT routine. Plot the magnitude of the FFT and locate the locations of the peaks of the magnitude.

c. Repeat part using matrix multiplication. Plot the DFT magnitude, locate the peaks and compare the results with results obtained in part.

Request for Solution File

Ask an Expert for Answer!!
Microeconomics: Use matlab to generate n 128 samples of the signal given
Reference No:- TGS01369605

Expected delivery within 24 Hours