How would I find peak gradient downward and upward slope, ascending descending middle points, and corresponding x indices using script.
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
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.
댓글 수: 2
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
