Return value based on multidimensional table/interpolation
6 次查看(过去 30 天)
显示 更早的评论
I'm looking for the most efficient way to look for values based on 4 variables (
), like in this table:
At first just the values already contained in the table will be used, but in the future I would like it to return an interpolated value when the given coordinates are not within the pre-defined values.
0 个评论
采纳的回答
Stephen23
2020-4-30
The simplest solution would be to use griddatan:
Note that it only supports to interpolation methods and does not support extrapolation.
As far as I can tell, none of the other inbuilt interpolation methods will work with 4D scattered data.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!