bugGNU Octave - Bugs: bug #46373, [octave forge] (signal)...

 
 

bug #46373: [octave forge] (signal) documentation of xcorr misleading

Submitted by:  Mirko Scholz <srtlg>
Submitted on:  Tue 03 Nov 2015 09:52:24 PM UTC  
 
Category: Octave Forge PackageSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Documentation
Status: Need InfoAssigned to: Mike Miller <mtmiller>
Originator Name: Open/Closed: Open
Release: otherOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 13 Aug 2017 10:28:28 PM UTC, comment #1:

Hi The following passes for me, meaning that it gives the same as xcorr

What is exactly the misleading part of the documentation?

@devs: please mark as "needs info" or "closed"

Juan Pablo Carbajal <juanpi>
Project Member
Tue 03 Nov 2015 09:52:24 PM UTC, original submission:

The documentation of the latest (1.3.2) it states that
none: return the unscaled correlation, R
biased: return the biased average, R/N
unbiased: return the unbiased average, R(k)/(N-|k|)
this is incorrect with the definition of R(k) given above: R_k = sum_i = x_{k+i} conj(y_i)

Just execute the following and substitute calculate R_k manually given the above definition.

Even though looking at the source the divisions are actually done that way, I assume that has something to do with the implementation as FFT

Mirko Scholz <srtlg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by juanpi (Posted a comment)
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by srtlg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Aug 2017 12:57:36 PM UTCjweSummarysignal package: documentation of xcorr misleading=>[octave forge] (signal) documentation of xcorr misleading
    Tue 22 Dec 2015 05:58:05 PM UTCmtmillerSeverity3 - Normal=>2 - Minor
      StatusNone=>Need Info
      Assigned toNone=>mtmiller

    Back to the top


    Powered by Savane 3.1-cleanup1