简体   繁体   English

'inputParser'在八度中未定义

[英]'inputParser' undefined in octave

I am trying to use findpeaks() function from signal package in octave. 我正在尝试从八度的signal包中使用findpeaks()函数。 I have installed and loaded signal and control packages and now when I try to run [pks3 idx3] = findpeaks(X,"DoubleSided","MinPeakHeight",0.5); 我已经安装并加载了signalcontrol包,现在尝试运行[pks3 idx3] = findpeaks(X,"DoubleSided","MinPeakHeight",0.5); , I get the following error. ,出现以下错误。

warning: the 'inputParser' function is not yet implemented in Octave 警告:“ inputParser”功能尚未在Octave中实现

Please read http://www.octave.org/missing.html to learn how you can contribute missing functionality. 请阅读http://www.octave.org/missing.html,以了解如何为缺少的功能做出贡献。

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 错误:第109行第12列附近未定义'inputParser'错误:调用自:错误:第109行第10列/home/kenden/octave/signal-1.3.2/findpeaks.m

Data X is in this format - 762 660 660 ... Is there any work around for it? 数据X的格式为762 660 660 ...是否有解决方法?

inputParser was implemented in GNU Octave 4.0 so it looks like you are using an older version. inputParser在GNU Octave 4.0中实现,因此您似乎正在使用旧版本。 Either update Octave or downgrade signal. 更新八度或降级信号。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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