hot to find data point from 3D space.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everyone, I have three variable x, y and T. x and y are independent variables and T is dependent variable. I have the T as an output at particular points (e.g. at specified lines grids). Is there any function similar to interp1 in 2D data that can be used to find T at any point in the data contour?
Thank you, Aziz
댓글 수: 0
답변 (1개)
Walter Roberson
2015년 9월 26일
interp2() if the points are along straight lines. Otherwise griddata() or triscatteredinterp()
댓글 수: 2
Walter Roberson
2015년 9월 26일
interp2(YourXValues, YourYValues, YourDataMatrix, XPlacesYouWantToInterpolate, YPlacesYouWantToInterpolate)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!