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!