How to divide this plot into different regions?
Mostrar comentarios más antiguos
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 comentarios
"...each one is characterized by one peak followed by a minimum point."
That's not what your image is showing, though. The 2nd red line is not on a local minimum point. I see about 3 minimal points between the segmented peak and the next peak to the right of your segmentation (there may be smaller local minima as well). This will make implementation of your rule difficult.
Perhaps you want the minimum point between peak n and peak n+1 which would move the 2nd red line to the right by about 1 uinit.
Is there a peak marker under the 2nd red line? If so, is it your intension to end the segmentation at the next peak?
What defines the first red line?
Enrica Brunetti
el 25 de Ag. de 2020
Adam Danz
el 26 de Ag. de 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.
Respuestas (0)
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
