简体   繁体   中英

'inputParser' undefined in octave

I am trying to use findpeaks() function from signal package in octave. I have installed and loaded signal and control packages and now when I try to run [pks3 idx3] = findpeaks(X,"DoubleSided","MinPeakHeight",0.5); , I get the following error.

warning: the 'inputParser' function is not yet implemented in Octave

Please read http://www.octave.org/missing.html to learn how you can contribute missing functionality.

error: 'inputParser' undefined near line 109 column 12 error: called from: error: /home/kenden/octave/signal-1.3.2/findpeaks.m at line 109, column 10

Data X is in this format - 762 660 660 ... Is there any work around for it?

inputParser was implemented in GNU Octave 4.0 so it looks like you are using an older version. Either update Octave or downgrade signal.

我可以从此处使用peakdet函数找到解决方法

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM