hot to find data point from 3D space.

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

Answers (1)

interp2() if the points are along straight lines. Otherwise griddata() or triscatteredinterp()

2 Comments

the points are along straight lines but how I apply this data matrix to the function interp2()
interp2(YourXValues, YourYValues, YourDataMatrix, XPlacesYouWantToInterpolate, YPlacesYouWantToInterpolate)

Sign in to comment.

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 26 Sep 2015

Commented:

on 26 Sep 2015

Community Treasure Hunt

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

Start Hunting!