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

3 vues (au cours des 30 derniers jours)
zppine
zppine le 9 Juil 2014
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

Réponses (2)

Andrei Bobrov
Andrei Bobrov le 9 Juil 2014

George Papazafeiropoulos
George Papazafeiropoulos le 9 Juil 2014
vq = griddata(x1,x2,y,x10,x20)
hth,
George Papazafeiropoulos

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by