How to do this: Multivariate Interpolation with random data (non-gridded)

8 views (last 30 days)
Dear all,
I have a question needing your help. Thanks in advance. I have a random data (not grids), (x1, x2, y), hypothetically generated from some unknown relationship y=f(x1,x2). I want to do interpolation and evaluate the value at some known points (x10, x20). Is there any way to do it?
Or any suggestion for fine approximation based on (x1,x2,y) to predict f(x10,x20) with reasonable accuracy? I have tried polynomial approximation (non-piecewise) and the result was not good enought. Thanks a lot.
Best, Zppine

Answers (2)

Andrei Bobrov
Andrei Bobrov on 9 Jul 2014

George Papazafeiropoulos
George Papazafeiropoulos on 9 Jul 2014
vq = griddata(x1,x2,y,x10,x20)
George Papazafeiropoulos

Community Treasure Hunt

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

Start Hunting!