Return value based on multidimensional table/interpolation
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gabriel Thaler
el 30 de Abr. de 2020
Comentada: Gabriel Thaler
el 30 de Abr. de 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 comentarios
Respuesta aceptada
Stephen23
el 30 de Abr. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!