Look-up table Interpolation (4 valuables)

Dear Community,
I am working on one project and now its last step.
I have table with 4 different values as shown in photo. (rho-velocity-curvature). The figure shows my goal, with curvature and velocity value, I would give rho output with minimum soc (state of charge). The goal is, choosing rho value considering 2 inputs (velocity and curvature) and also soc; and this rho should match with minimum state of charge (soc). I mean, when we set curvature and velocity, according these inputs; we need to choose minimum soc value and its rho valuable.
There are couple of similar questions but mine is with 4 values. Do you have any idea ?
Thank you in advance.

Respuestas (3)

Image Analyst
Image Analyst el 27 de Dic. de 2018

0 votos

Use scatteredInterpolant(). Attach your known training data if you need more help.
Hakan Basargan
Hakan Basargan el 16 de En. de 2019

0 votos

Please find attached excel file which includes all data.
According to "a" and "b" input, we will choose minimum "c" and as output we will choose d value. Output will be one of value of "d".
For exp. a=0.0182 , b=15 values will be received. Then algorithm need to find minimum "c" value from table and according to this "c" value, algorithm needs to give "d" output.

Categorías

Preguntada:

el 27 de Dic. de 2018

Comentada:

el 11 de Feb. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by