comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: bug in IDL's hanning() window-generating function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: bug in IDL's hanning() window-generating function [message #26179 is a reply to message #26002] Fri, 10 August 2001 09:16 Go to previous messageGo to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
bennetsc@NOSPAMucs.orst.edu wrote:
> Jaco van Gorkom <j.c.van.gorkom@fz-juelich.de> wrote:

>> function Harris, n, _EXTRA=extra
>> return, (hanning(n+1, _EXTRA=extra))[0:n-1]
>> end
>>
> That looks like it should work for Hann, Hamming, and other
> raised cosine windows. I am not prepared to vouch for that method
> for all windows.

Well, I inherited *some* of the functionality from the built-in
HANNING() function. Therefore this is not very likely to produce other
types of windows, symmetric or not.

> So a Hann window, and other windows I've seen so far, should not
> include a repetition of its first coefficient as the last coefficient.

Thanks to all for the explanations and examples. I am now definitely a
convert to 5.5-style hanning windows. Even though I will certainly never
encounter an 80 dB signal-to-noise ratio...

Jaco
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HDF files and memory leak
Next Topic: Re: Point inside/outside a polygon?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:51:34 PDT 2025

Total time taken to generate the page: 0.00413 seconds