Getting the value of a graph at a certain point
조회 수: 3 (최근 30일)
이전 댓글 표시
I had (x,y,z) data and got a surface from these values by curve fitting. Now I want to get the z-value at a point (x,y), which was not in the data set, with which I created the graph. Is that possible and how can I do this?
댓글 수: 0
답변 (2개)
Julien
2012년 10월 8일
you have to make a 2D interpolation
interp2(X,Y,Z,xi,yi)
with X,Y,Z : values from your datas (xi,yi) the coordinates of the point you want to find
look inside documentation for additional information
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!