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!