MinPeakProminence option in findpeaks function absent in Linux versions
Ältere Kommentare anzeigen
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.
Antworten (1)
Greg Dionne
am 17 Nov. 2015
0 Stimmen
The Signal Processing Toolbox Release Notes indicate that this function was upgraded in R2014b. You'll need to upgrade to use the new functionality.
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!