Dear members,
Currently I am doing DSP assignment, I encountered some difficulties, please I need your kind guidance to work out some of the questions. The question is about windowing filter.
Consider a rectangular window of length 21 with non-zero samples in the range 0 ≤ ≤ 20 denoted by []. Using MATLAB plot []. Perform a DFT of length 512 on this rectangular window to find its frequency spectrum denoted by []. Print out the plots of the magnitude and phase of [] for half the range of k.
I am thinking should I use sinc function on the matlab to generate the window?
Thankyou
Currently I am doing DSP assignment, I encountered some difficulties, please I need your kind guidance to work out some of the questions. The question is about windowing filter.
Consider a rectangular window of length 21 with non-zero samples in the range 0 ≤ ≤ 20 denoted by []. Using MATLAB plot []. Perform a DFT of length 512 on this rectangular window to find its frequency spectrum denoted by []. Print out the plots of the magnitude and phase of [] for half the range of k.
I am thinking should I use sinc function on the matlab to generate the window?
Thankyou