Look-up table Interpolation (4 valuables)

3 次查看(过去 30 天)
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.

回答(3 个)

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

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

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by