sfstoolbox / sfs-matlab

SFS Toolbox for Matlab/Octave
https://sfs-matlab.readthedocs.io
MIT License
98 stars 39 forks source link

hanningwin() is not generating a hann window #18

Closed hagenw closed 11 years ago

hagenw commented 11 years ago

It should use hanning(2_onset+1) and not hanning(2_onset)

In addition we should remove the leading and ending zero of the window. Note, that this is at the moment explicitly done in the tapering_window() function. Further we could think of switching to chebwin() instead of hanning() and maybe renaming this function.