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

Home » Public Forums » archive » BUG IN C_CORRELATE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
BUG IN C_CORRELATE [message #5651] Wed, 31 January 1996 00:00 Go to previous message
Jack Saba is currently offline  Jack Saba
Messages: 30
Registered: January 1996
Member
There appears to be a bug in c_correlate. The documentation says
the sums in the denominator go from 0 --> N-1. However, as
implemented, they go from 0 --> N-2. The same seems to be the
case for a_correlate.

I'm not an expert on correlation analysis, but the definition of
the cross-correlation in these functions strikes me as odd. The
use of the entire vector in the denominator means that the
cross-correlation at large lag is decreased wrt smaller lags
because more elements of the vector are used in the denominator
than in the numerator. Is this the normal definition, or should
the sums in the denominator include only the elements that are
are used in the numerator?
[Message index]
 
Read Message
Read Message
Previous Topic: Maker Interchange Format (MIF) driver Version 1.03
Next Topic: Problem addressing arrays from C routines running OSF

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

Current Time: Wed Oct 08 19:55:39 PDT 2025

Total time taken to generate the page: 0.00402 seconds