bugGNU Octave - Bugs: bug #41684, signal package: findpeaks undefined

 
 

bug #41684: signal package: findpeaks undefined

Submitter:  None
Submitted:  Tue 25 Feb 2014 05:10:40 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  mtmiller
Originator Name:  sabian2008 Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.4
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 26 Feb 2014 07:06:08 PM UTC, comment #3: 

No worries, thanks for confirming that loading the package works for you, marking this bug as invalid.

Mike Miller <mtmiller>
Group Member
Wed 26 Feb 2014 06:18:17 PM UTC, comment #2: 

Yes. I ran with this same problem with another package and I could make it work this way. Seems like sometimes .m files have some package loading problem. Making the load explicit solves the issue.

Sorry for the noob question I've made. As, without realizing I published as anonymus, I can't seem to mark it as solved or whatever.

Again, sorry.

Thanks a lot.

Mauro

Anonymous
Tue 25 Feb 2014 02:12:54 PM UTC, comment #1: 

This works for me. The most likely problem you are having is that your path does not contain the function, either the package hasn't been loaded or you have modified the path somehow. The Debian signal package should load automatically, but that doesn't mean misconfiguration can't happen.

Does "pkg load signal" make the function work for you?

Mike Miller <mtmiller>
Group Member
Tue 25 Feb 2014 05:10:40 AM UTC, original submission:  

Hey everyone

I'm running Debian Testing and I have the repos versions of both Octave and Octave-signal.

The thing is, when I try to use the findpeaks  function, the program crashes. The set of data comes from a Ricker wavelet and I have copied them in the pastebin.

The script, in that line, says "findpeaks(convolved)". I don't think the previous lines have any tipe of issue as by removing the findpeaks sentence the program keeps running (and deals a lot with that 'convolved' data series).

I've read documentation and tried a few examples with user input data like [34,134,353,64,134,14,56,67,234,143,64,575,8657] and that doesn't make it crash... However, I don't thing 400 long-data is the thing producing the crash so I'm really lost.

The paste-bin:
http://paste.debian.net/83938/


Thank you, in advance
Mauro

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (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 group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-26 mtmiller StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2014-02-25 mtmiller CategoryOctave Function Octave Package
        Item GroupSegfault, Bus Error, etc. Incorrect Result
        StatusNone Need Info
        Assigned toNone mtmiller
        Summaryfindpeaks from pkg signal crashes signal package: findpeaks undefined

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code