Effacer les filtres
Effacer les filtres

How to divide this plot into different regions?

3 vues (au cours des 30 derniers jours)
Enrica Brunetti
Enrica Brunetti le 24 Août 2020
Commenté : Adam Danz le 26 Août 2020
I want to identify different regions, each one is characterized by one peak followed by a minimum point.
This is the plot in which I want to obtain these different regions (red lines).
This procedure must be performed for the entire plot.
  3 commentaires
Enrica Brunetti
Enrica Brunetti le 25 Août 2020
I want to select the regions in which one I have a peak, shown with a blue triangle, followed by a minimum point.
So the 2nd red line has been misplaced, in fact it had to be positioned at the next mininum point.
Adam Danz
Adam Danz le 26 Août 2020
You already have the location of peaks. Now all you need to do is find the min() between adjacent peaks. That should be quite easy to do within a loop.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by