# Look-up table Interpolation (4 valuables)

2 views (last 30 days)
Hakan Basargan on 27 Dec 2018
Commented: Hakan Basargan on 11 Feb 2019
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.

#### 1 Comment

Hakan Basargan on 11 Feb 2019
Still, I need help.

Image Analyst on 27 Dec 2018
Use scatteredInterpolant(). Attach your known training data if you need more help.

#### 1 Comment

Hakan Basargan on 11 Feb 2019
Hi,
Still, I need help. I attached the data.

Hakan Basargan on 16 Jan 2019
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.

Hakan Basargan on 30 Jan 2019
Hi !
Is there any news ?