Look Up Table for position solver
古いコメントを表示
Dear all,
I am trying to build a look up table to solve the position. It is basically a voltage-position conversion problem.
I will define the position in cartesian coordinates (x,y,z)
Each point of the position will have 3 volatge measured.
For example, at (0,0,0) the voltage is [5,1,2]
and at (1,0,0) the voltage is [3,2,4]
i will have 1000 points data.
How can i generate a look up table that when the input is [?,?,?] voltage, the output is [x,y,z] coordinate.
For example if the input voltage is [3,2,4] then the output will be (1,0,0)
It is also okay to use simulink or matlab
Could anyone help me? Please~
Thank you ver much
16 件のコメント
Torsten
2022 年 1 月 26 日
Is there a unique position vector that corresponds to each voltage vector ?
And for your table lookup, you only choose voltage vectors for which there already exists a position vector in the table or is it necessary to perform interpolation ?
Chun Wai KO
2022 年 1 月 26 日
Chun Wai KO
2022 年 1 月 26 日
Torsten
2022 年 1 月 26 日
Google
matlab & inverse interpolation
and take the first hit.
Chun Wai KO
2022 年 1 月 27 日
Torsten
2022 年 1 月 27 日
I wonder if the voltage vectors you get depend kind of continuously on position or whether the 6 neighbour voltage vectors to a position P = (i,j,k) (let's assume 1<i,j,k<10) are somewhat random.
Chun Wai KO
2022 年 1 月 27 日
Chun Wai KO
2022 年 1 月 27 日
Chun Wai KO
2022 年 1 月 27 日
Torsten
2022 年 1 月 27 日
So does it make sense to independently reverse interpolate in x-,y- and z- direction ?
Means : points with x-component 1 have all approximately voltage v1 in the first position, points with x-component 2 have all approximately voltage v2 in the first position and so on. And the same for y- and z- direction ?
Chun Wai KO
2022 年 1 月 27 日
Chun Wai KO
2022 年 1 月 27 日
Chun Wai KO
2022 年 1 月 27 日
Torsten
2022 年 1 月 27 日
Say you are to interpolate the position for the voltage vector that is half the voltage vector in position 1,0,0 plus half the voltage vector in position 1,0,1. Would it be acceptable to assume that the reverse interpolated position is 1,0,1/2 ?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Choose a Solver についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


