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 comentario

Image Analyst
Image Analyst el 13 de Sept. de 2015
Editada: Image Analyst el 13 de Sept. de 2015
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Etiquetas

Preguntada:

el 13 de Sept. de 2015

Editada:

el 13 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by