How would I find peak gradient downward and upward slope, ascending descending middle points, and corresponding x indices using script.

4 views (last 30 days)
My data looks like this
I had found the gradient of this y data and then was able to find out peaks and valleys but don't know how do I find peak gradient upward and downward slope, midpoints, and mainly I am interested in their x indices.

Answers (0)

Community Treasure Hunt

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

Start Hunting!