bugGNU Octave - Bugs: bug #45390, [octave forge] (communications)...


bug #45390: [octave forge] (communications) finddelay function

Submitter:  zLs <rambald1>
Submitted:  Wed 24 Jun 2015 10:19:32 AM UTC
Category:  Octave Forge Package Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  zLs Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


( Jump to the original submission )

Tue 27 Jul 2021 07:31:21 PM UTC, comment #6: 

Included in communications v1.2.3 released 2021-04-02
Can this bug be closed?

Wed 31 Mar 2021 01:27:34 AM UTC, comment #5: 
Nir Krakauer <nir_krakauer>
Tue 23 Mar 2021 02:44:03 PM UTC, comment #4: 

Attached is an initial version

Started with Robert's version but it only passed 1 of the first 4 examples in matlab.

Then tried zLs version which failed the negative ones.
These are still commented

no maxlag option implemented

Cannot handle when the delay should be a vector
This is when x and y are matrices

Receive this error

error: xcorr: Y must be a vector

(file #51122)

Wed 24 Jun 2015 05:53:00 PM UTC, comment #3: 

Changing the Category to Octave Forge Package since the finddelay function is not part of core, but rather the Communications Package.

Rik <rik5>
Project Administrator
Wed 24 Jun 2015 11:53:21 AM UTC, comment #2: 

Thanks Doug.

With your tip and some searches, i use these lines to get the delay:

[R, lag]=xcorr(y, y_filt);
[a b]=max(R);
D = abs(b - length(y));

I think is the right way.
I am new in this forum. How can i contribute to GNU octave by helping develop the finddelay() function, in order to get more compatibility with Matlab?

Thanks again,


zLs <rambald1>
Wed 24 Jun 2015 10:50:19 AM UTC, comment #1: 
Doug Stewart <dastew>
Wed 24 Jun 2015 10:19:32 AM UTC, original submission:  

I've been searching for this fuction in octave and seems like its not implemented. it would be useful to have this. Thanks in advance.

Btw, is there any similar function that i can use in octave??



zLs <rambald1>


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

Attach Files:

Attached Files
file #51122:  finddelay.m added by None (2KiB - text/x-objcsrc)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by nrjank (Updated the item)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by rambald1 (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 17 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-12 nrjank StatusPostponed Fixed
        Open/ClosedOpen Closed
    2021-03-23 None Attached File- Added finddelay.m, #51122
    2020-02-27 mtmiller StatusConfirmed Postponed
        Assigned tomtmiller None
    2019-02-26 mtmiller Priority5 - Normal 1 - Later
        Releaseother dev
    2019-02-26 mtmiller Carbon-CopyRemoved 80942 -
    2017-08-13 jwe Summarycommunications package: finddelay function [octave forge] (communications) finddelay function
    2015-06-25 mtmiller Severity3 - Normal 1 - Wish
        Item GroupMatlab Compatibility Feature Request
        StatusNone Confirmed
        Assigned toNone mtmiller
        Release3.8.2 other
        SummaryFeature request: finddelay function communications package: finddelay function
    2015-06-24 rik5 Carbon-CopyRemoved 72865 -
    2015-06-24 rik5 CategoryOctave Function Octave Forge Package

    Back to the top

    Powered by Savane 3.9