how to extract data from database?
古いコメントを表示

Good day! :)
I'm new to Matlab. Hopefully I could ask for your help on this.
Attached is the pseudo-code that I have written.
it would ask for a, then b.
c gets the sum of a and b,
then dp will multiply c by 2. (or dp= 2*c)
then there's a simplified database for different values of dp and its corresponding dx and dy values. (btw, I basically made this one)
my concern here actually is how to link the value of dp once dp=2*c so I could get the corresponding dx and dy values based on the computed dp.
regards, Wesley
1 件のコメント
Image Analyst
2015 年 9 月 13 日
編集済み: Image Analyst
2015 年 9 月 13 日
Please read this link so you'll understand why we can't answer this because we don't know what dx and dy are, and how they relate to variables a, b, and c. I guess you have a lookup table of N rows and 2 columns, one column holds dx and one column holds dy. But there is no way we can tell from 2*c which row to select to extract out the dx and dy that you want.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!