How to divide this plot into different regions?
이전 댓글 표시
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
"...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
2020년 8월 25일
Adam Danz
2020년 8월 26일
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.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
