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

回答(1 个)

Walter Roberson
Walter Roberson 2015-9-26
interp2() if the points are along straight lines. Otherwise griddata() or triscatteredinterp()
  2 个评论
Abdulaziz Abutunis
Abdulaziz Abutunis 2015-9-26
the points are along straight lines but how I apply this data matrix to the function interp2()
Walter Roberson
Walter Roberson 2015-9-26
interp2(YourXValues, YourYValues, YourDataMatrix, XPlacesYouWantToInterpolate, YPlacesYouWantToInterpolate)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by