Tracking a point in a graph

조회 수: 5 (최근 30일)
Darpan Verma
Darpan Verma 2019년 3월 8일
댓글: Darpan Verma 2019년 3월 8일
Hi,
I want to write a general condition statement which could grab the values marked with an arrow in the attachement. This is a point where the graph starts to decrease.
The reason for writing a general condition (some logic, like when data starts to decrease at a faster rate corresponding x-axix value at that particular point (where the curve starts to decrease) is fetched and store in a table) is that I have similar data for -1V to -39V as you could see this data is for -40V. Finally I need to fetch the value on the y-axis to be stored to a table (like in this case that value is 4.41eV). This value might shift to a different x axis value for other datas (-1 to -39V), thats the reason I want to track it. I have also attached a file which shows multiple data as I am mentioning (-1to-39V) for the reference.
I would really appreciate if I could get some help on this.
Thanks in advance
Darpan
Screen Shot 2019-03-07 at 9.32.28 PM.png

채택된 답변

KSSV
KSSV 2019년 3월 8일
YOu can use the concept maxima and minima....you may refer here: https://in.mathworks.com/matlabcentral/answers/37103-finding-turning-points-of-a-dataset

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by