How to do this: Multivariate Interpolation with random data (non-gridded)
显示 更早的评论
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
回答(2 个)
Andrei Bobrov
2014-7-9
0 个投票
George Papazafeiropoulos
2014-7-9
vq = griddata(x1,x2,y,x10,x20)
hth,
George Papazafeiropoulos
类别
在 帮助中心 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!