MinPeakProminence option in findpeaks function absent in Linux versions
이전 댓글 표시
When trying to call the findpeaks function (signal processing toolbox) on a LINUX version of Matlab, I get the following error (I never get this on Windows):
Error using findpeaks>parse_inputs (line 131)
'MinPeakProminence' is not a recognized parameter. For a list of valid name-value pair arguments, see the
documentation for this function.
Error in findpeaks (line 71)
[X,Ph,Pd,Th,Np,Str,infIdx] = parse_inputs(Xin,varargin{:});
Error in plot_ac_loglin (line 11)
[pks,locs] = findpeaks(ac(:,i),'Npeaks',MAX_PEAKS,'MinPeakProminence',0.1,'MinPeakHeight',0);
How should I fix this? I do not understand why the linux version of the toolbox would be different from the windows version. I'm using R2014a.
답변 (1개)
Greg Dionne
2015년 11월 17일
0 개 추천
The Signal Processing Toolbox Release Notes indicate that this function was upgraded in R2014b. You'll need to upgrade to use the new functionality.
카테고리
도움말 센터 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!