Find the spectrum of waveform, MATLAB Programming

Assignment Help:

(a) Find the spectrum of this waveform:  x = [ exp( -[0:1:49]/10), exp(-[50:-1:1]/10)]. Subplot only the magnitude by using the spectrum program from the class notes.

(b) Using this information from the 100-point DFT, re-create the waveform by summing the sinusoidal contributions from all the DFT coefficients as done in lecture. Show both the waveform x and its re-creation xhat on another subplot. (The waveforms might merge into one figure so the mean square error is effectively zero in this case.)

(d)  Using MATLAB, find the index n0 at which the spectral magnitude falls below 0.05 of its maximum (which is a point beyond which there is little energy left in the higher frequencies.)

(e)   Using only the first n0 DFT coefficients, generate the waveform and plot in Matlab by using the symmetry properties of the transform. Plot xhat over the actual signal and annotate the plot to indicate the value of the calculated mse. Title and label the axes. Submit plot and code.


Related Discussions:- Find the spectrum of waveform

Functions with local variables, Functions with Local Variables: The fu...

Functions with Local Variables: The functions we have seen faraway have been very easy. Though, in many situations the computations in a function are more complex, and may nee

Example of hold and legend function, Example of Hold and legend function: ...

Example of Hold and legend function: Running this script will generate two individual figure windows. If there is not any other active figure window, the first, that is the ba

Develop a matlab program to design algorithm, Write a pseudo-code showing t...

Write a pseudo-code showing the list of steps to take for solving the given problem. In this process, you should identify the functions that are to be used in the program. Develop

Compute the sum of all the columns of a matrix, 1. Enter the 3×4 matrix ...

1. Enter the 3×4 matrix Let a ij denote the entry of A in the ith row and jth column. Use Matlab to compute the following : (a) a 13 + a 32 (b) Three times the

Write a matlab function, Write a MATLAB function called pgm which calculate...

Write a MATLAB function called pgm which calculates the periodogram. The function inputs should be the length input vector x and its output should be the length N periodogram estim

Colon operator, The Colon Operator: If the values in the vector are re...

The Colon Operator: If the values in the vector are regularly spaced, the colon operator is used to iterate through these values. For illustration, 1:5 results in all the inte

Homework, -The program should run always until the user enters -1 to exit f...

-The program should run always until the user enters -1 to exit from the program. - In the main, you should ask user to input any angles in degrees (Ad) and an integer number (N).

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd