Look-up table Interpolation (4 valuables)

2 visualizzazioni (ultimi 30 giorni)
Hakan Basargan
Hakan Basargan il 27 Dic 2018
Commentato: Hakan Basargan il 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.

Risposte (3)

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

Hakan Basargan
Hakan Basargan il 16 Gen 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
Hakan Basargan il 30 Gen 2019
Hi !
Is there any news ?

Community Treasure Hunt

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

Start Hunting!

Translated by