How to find a local minimum around a point you click in a graph?

조회 수: 1 (최근 30일)
JamJan
JamJan 2020년 10월 1일
댓글: KSSV 2020년 10월 1일
I have a lot of different graphs, where I want to find the minimal point of where the line is going up towards it's peak. I would like to do this by inserting a piece of code where I have to click somewhere in the graph (close to the point I want to find) and that it automatically selects and saves the local minimum. The same I would like to do for the maximum. How to do this and print this out in code?
Graph of what I mean (ignore the yellow dot, that should be more to the right).
  댓글 수: 1
KSSV
KSSV 2020년 10월 1일
There are inbuilt commands..read about islocalmin, islocalmax.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by