help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to use findpeaks : error: `findpeaks' undefined


From: Nicanor García
Subject: Re: Unable to use findpeaks : error: `findpeaks' undefined
Date: Wed, 9 Oct 2013 20:28:46 -0500

Hello, thank you very much for the quick answer Mike.

As a closing comment about this, it would be really helpful to include in the documentation about each function in which versions of the package is it included.

Again, thank you very much.

N.


2013/10/9 Mike Miller <address@hidden>
On Wed, Oct 9, 2013 at 11:28:38 -0500, Nicanor García wrote:
> Hello everyone,
>
> I'm having some trouble using this function from the signal package. At
> first I thought the package wasn't correctly installed, but I'm able to use
> all the other functions from it, so I ruled that out as the cause of the
> problem.
>
> This is an example of what I get when I call the function:
>
> octave:4> findpeaks(sierra)
> error: `findpeaks' undefined near line 4 column 1
>
> Where sierra is sawtooth I had generated previously. For all the other
> functions in the package I get a different error message telling me I'm not
> calling them correctly, but they exist.
>
> I'm on Debian version 7.1 64 bit using Octave v 3.6.2 installed from the
> software manager, also the other packages were installed using the software
> manager.

You are using the signal package version 1.1.3 as packaged for Debian
7.1. The findpeaks function was only recently introduced in version
1.2.1 of the signal package. You can try to install a newer version of
the package locally or you can download the findpeaks function file
directly [1] and install it locally in some directory in your Octave
runtime path.

[1] https://bitbucket.org/mtmiller/octave-signal/src/b77d17637a32/inst/findpeaks.m?at=default

HTH,

--
mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]