MATLAB Answers

How can i interpolate 2 matrices or planes

1 view (last 30 days)
Luis Cano
Luis Cano on 22 Feb 2017
Edited: KSSV on 23 Feb 2017
I have some data points that have coordinates of (Latitude, Longitude) = (X,Y) and a value for each coordinate = Z. I want to interpolate these points into a plane and after that y want to interpolate 2 or 3 more planes, this is because i have data points of different altitudes and then plot the grafic, the result shoulb be something like a volume of a cube. Does anyone knows how to interpolate 2 matrices = planes or even more?

Answers (1)

KSSV
KSSV on 23 Feb 2017
Edited: KSSV on 23 Feb 2017
You have to use interp2 if your data is gridded data. If data is scattered data look into scatteredInterpolant .

Community Treasure Hunt

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

Start Hunting!