Return value based on multidimensional table/interpolation
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Gabriel Thaler
am 30 Apr. 2020
Kommentiert: Gabriel Thaler
am 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 Kommentare
Akzeptierte Antwort
Stephen23
am 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!