bugGNU Octave - Bugs: bug #44446, signal package: indexing error in...

 
 

bug #44446: signal package: indexing error in findpeaks function

Submitted by:  None
Submitted on:  Fri 06 Mar 2015 10:27:05 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Christoph WeiseOriginator Email: -unavailable-
Open/Closed: ClosedRelease: other
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 06 Mar 2015 02:40:31 PM UTC, comment #1:

Thanks for your bug report against the signal package. This bug has actually already been reported and fixed in version 1.3.0 of the signal package. See bug #39267 for more information. If there is still a problem in the current development version of the signal package, feel free to report a new bug.

Mike Miller <mtmiller>
Project Administrator
Fri 06 Mar 2015 10:27:05 AM UTC, original submission:

When checking derivatives function findpeaks may evaluate an index to 0 (on line 123):

idx = find (df1.*circshift(df1,1)<0 & df2<0)-1;

Suggest you add a workaround to get rid of such indices, otherwise an error results. Not fully checked the math, but, since derivative sign changes at edges are presumably not meaningful, it is prob ok to throw away such an index which is not meaningful anyway:

idx(idx==0)=[];

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Mar 2015 02:40:31 PM UTCmtmillerCategoryOctave Function=>Octave Forge Package
      Item GroupSegfault, Bus Error, etc.=>Incorrect Result
      StatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Release3.6.4=>other
      Summaryindexing error within function causes fail=>signal package: indexing error in findpeaks function
      Dependencies-=>Depends on bugs #39267

    Back to the top


    Powered by Savane 3.1-cleanup1