Return value based on multidimensional table/interpolation
5 views (last 30 days)
Show older comments
Gabriel Thaler
on 30 Apr 2020
Commented: Gabriel Thaler
on 30 Apr 2020
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 Comments
Accepted Answer
Stephen23
on 30 Apr 2020
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.
More Answers (0)
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!