How to find local minima nearby the local maxima
2 views (last 30 days)
Show older comments
I have many wind speed time series. I have shown two representatve time series below (y-axis: wind speed, x-axis:time). I want to extract the time series segment corresponding to a major wind event that is characterized by a sudden increase in wind speed. In short, I want to extract the segments as shown in the figure below (red-green-red). How do I do that?
Things I have already tried:
1) islocalmax perfectly identifies the peak wind speed (green). When I use islocalmin, it identifies the orange dot as the local minimum :(
2) I also tried findchagepts command with various parameter inputs (like mean, rms, std, linear with max change points=2) but it is not able to correctly identify red-green-red
Is there any other way to find the max and the surrounding local min?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!