I have a problem of the function findpeaks R2015b : it does not detect the flat peaks like in the version of R2013b

1 visualizzazione (ultimi 30 giorni)
I used the same program in both versions of Matlab R2015b and R2013a. In the version R2013a, I use the function 'findpeaks' and it does detect all the peaks (even the flat peaks), however the same code implemented in the version R2015b of Matlab does not detect the flat peaks. I don't understand if it is related to the options of the function 'findpeaks' or there is an extension to add to one of the versions.
  1 Commento
Adam
Adam il 6 Giu 2017
Modificato: Adam il 6 Giu 2017
The only change I can see that affects findpeaks is in R2014b:
'The function findpeaks now lets you estimate the width of any peak and limit the results of peak searches by width or prominence. When called with no output arguments, the function plots the signal and annotates the value, width, and prominence of every peak.'
This may account for what you are seeing if the new peak width maths causes different default behaviour.

Accedi per commentare.

Risposte (1)

Greg Dionne
Greg Dionne il 27 Lug 2017
Hi Salma,
Hopefully its not too late to ask you, but if perhaps you can post your data or contact technical support we can take a look.
https://www.mathworks.com/help/matlab/matlab_env/contact-technical-support.html

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by