Info
This question is closed. Reopen it to edit or answer.
this computer lab will investigate the use of spectral windows in the estimation of the power spectrum via the modified periodogram
1 view (last 30 days)
Show older comments
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
Walter Roberson
on 2 Jan 2012
What is 2n180 and 4n180 ?
Please be aware that MATLAB's sin() and cos() routines work in radians. sind() and cosd() work in degrees.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!