Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Hann-Poisson (``No Sidelobes'')

$\displaystyle w(n) = \frac{1}{2}\left[1 + \cos\left(\pi\frac{n}{(M-1)/2}\right)\right] e^{-\alpha\frac{\vert n\vert}{(M-1)/2}}
$

Matlab:

function [w,h,p] = hannpoisson(M,alpha)
%HANNPOISSON  - Length M Hann-Poisson window 

Mo2 = (M-1)/2; n=(-Mo2:Mo2)';
scl = alpha / Mo2;
p = exp(-scl*abs(n));
scl2 = pi / Mo2;
h = 0.5*(1+cos(scl2*n));
w = p.*h;


Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

[Comment on this page via email]

``FFT Windows'', by Julius O. Smith III and Bill Putnam, (From Lecture Overheads, Music 421).
Copyright © 2020-06-27 by Julius O. Smith III and Bill Putnam
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [Automatic-links disclaimer]