Return value based on multidimensional table/interpolation

6 ビュー (過去 30 日間)
Gabriel Thaler
Gabriel Thaler 2020 年 4 月 30 日
コメント済み: Gabriel Thaler 2020 年 4 月 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.

採用された回答

Stephen23
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.
  1 件のコメント
Gabriel Thaler
Gabriel Thaler 2020 年 4 月 30 日
That worked perfectly! Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by