How to do this: Multivariate Interpolation with random data (non-gridded)
Mostra commenti meno recenti
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
Risposte (2)
Andrei Bobrov
il 9 Lug 2014
0 voti
George Papazafeiropoulos
il 9 Lug 2014
vq = griddata(x1,x2,y,x10,x20)
hth,
George Papazafeiropoulos
Categorie
Scopri di più su Partial Differential Equation Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!