Question: Please show the code with comments explaining the code. Thanks! ME 4005 Regular Lecture Assignment 2: Code to compute spectrum of a signal Due: Feb.

 Please show the code with comments explaining the code. Thanks! ME

Please show the code with comments explaining the code. Thanks!

ME 4005 Regular Lecture Assignment 2: Code to compute spectrum of a signal Due: Feb. 17, 2021 at 11:59pm Points: 20 Description The main tasks for this assignment are: 1) To develop a MATLAB code to: a compute the spectrum using the Discrete Fourier Series for a given number of harmonics N. b. Plot the spectrum in dB. The frequency resolution must be included in the title or as a text. c. compute the "inverse" Discrete Fourier Series (e.g. reconstruct the signal) for the N harmonics included in the series, e.g. N must be computed from the maximum frequency of interest in the spectrum. d. Plot the original and reconstructed signal in the same plot. for arbitrary signals. N. NOTES: N SN, where N, is the number of sample in the signal. 2 It is highly recommended to use functions in the code development when you have to process multiple data sets using the same algorithms. I suggest for you to implement functions for tasks la and lc. ME 4005 Regular Lecture Assignment 2: Code to compute spectrum of a signal Due: Feb. 17, 2021 at 11:59pm Points: 20 Description The main tasks for this assignment are: 1) To develop a MATLAB code to: a compute the spectrum using the Discrete Fourier Series for a given number of harmonics N. b. Plot the spectrum in dB. The frequency resolution must be included in the title or as a text. c. compute the "inverse" Discrete Fourier Series (e.g. reconstruct the signal) for the N harmonics included in the series, e.g. N must be computed from the maximum frequency of interest in the spectrum. d. Plot the original and reconstructed signal in the same plot. for arbitrary signals. N. NOTES: N SN, where N, is the number of sample in the signal. 2 It is highly recommended to use functions in the code development when you have to process multiple data sets using the same algorithms. I suggest for you to implement functions for tasks la and lc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!