MATLAB Answers

determining the value of an x corresponding to specifec y from the graph

조회 수: 3(최근 30일)
I have two vector that I used to plot the following.
the vector used to plot the y axis does not contain the value 0.5
so I want to determin the value of the x axis in the point I have selectud manually in the figure.
its the point that x would have if it was a continuous variable. but I do want to do this with code to use this value in some other computation.

  댓글 수: 0

로그인 to comment.

채택된 답변

ANKUR KUMAR 25 Feb 2019
Use polyfit to fit a linear line along all data points. It gives you a linear equation in terms of x and y. Just insert the value of x or y to get the other variable.

  댓글 수: 1

로그인 to comment.

More Answers (0)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by