10-2 (Note: second delta[n-2] term should be delta[n-3])
10-3
10-4
10-6
10-7
10-12
10-15
The purpose of this problem is to derive or recall and use formulas to compute the frequency vector for a true scaled frequency axis in a spectral plot. Both even and odd length cases are considered.
Let be sampled at samples/second leading to . By windowing, extract a length set of samples.
a) Use the FFT function in Matlab to compute the point DFT. Plot the magnitude of the DFT on a frequency axis scaled to show frequencies in Hertz with DC (zero frequency) in the center of the frequency axis. Turn in your plot and Matlab code.
b) Use the FFT function in Matlab to compute the point DFT. Plot the magnitude of the DFT on a frequency axis scaled to show frequencies in Hertz with DC (zero frequency) in the center of the frequency axis. Turn in your plot and Matlab code.
This problem explores the use of the FFT for performing linear convolution of two sequences.
Let be a length sequence and let be a length sequence.
a) Using Matlab's conv function, compute the linear convolution .b) Let be the length of the convolution result . For general and , what is the length of in terms of and ?c) For the specific values of and in this problem, what is the length of ?d) The convolution property of the DFT may be stated as
where denotes -point circular convolution
where denotes modulo . What condition on guarantees that the circular convolution is equal to the linear convolution?e) For the values of and in this problem, what is the minimum value of for linear-circular convolution equivalence?f) Using Matlab code, show how to use the FFT to perform fast convolution of and . Rather than using the minimum value of . Let the transform length be the smallest power of 2 greater than the minimum . What is this ? Turn in your code and a plot of . Make sure that the result computed using the FFT matches the result obtained using conv.