MinPeakProminence option in findpeaks function absent in Linux versions
Mostra commenti meno recenti
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.
Risposte (1)
Greg Dionne
il 17 Nov 2015
0 voti
The Signal Processing Toolbox Release Notes indicate that this function was upgraded in R2014b. You'll need to upgrade to use the new functionality.
Categorie
Scopri di più su Fourier Analysis and Filtering in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!