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
|
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?
|
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
|