this computer lab will investigate the use of spectral windows in the estimation of the power spectrum via the modified periodogram

generate the following windows for M=128 and 0<=n<=M-1
a)bartlett:w(n)=1-(2n-M-1)/(M-1)
b) Blackman:w(n)=0.42-0.5cos[(2nΠ)/(M-1)]+0.08cos[(4nΠ)/(M-1)]
c)hamming:w(n)=0.54-0.46cos[(2nΠ)/(M-1)]
d)hanning:w(n)=0.5-0.5cos[(2nΠ)/(M-1)]

3 Comments

http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
What is 2n180 and 4n180 ?
Please be aware that MATLAB's sin() and cos() routines work in radians. sind() and cosd() work in degrees.
yeah I meant in radian (by)but I didnt find the symbol

Answers (0)

This question is closed.

Asked:

on 2 Jan 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!