We illustrate two different ways to generate Hann window functions for spectral analysis applications.  MATLAB calls them "symmetric" and "periodic".  The latter is also called "DFT Even" in the classic Frederic Harris paper.
<a href="//commons.wikimedia.org/wiki/User:Bob_K" title="User:Bob K">Bob K</a>
2016-04-05
<span class="int-own-work" lang="en">Own work</span>