Force field in GUI

how can I get force field given (x+2)i+(y+2)j+(z+2)k from GUI edit text ?
I am gonna subsitute some other variables to this func.

1 Commento

Jan
Jan il 9 Dic 2022
The question is not clear yet. What exactly is written in the edit field? What is the wanted output? What do you call "a force field"? Which kind of Matlab object is this? A symbolic equation or a 3D array?

Accedi per commentare.

Risposte (1)

Erdem Aktürk
Erdem Aktürk il 10 Dic 2022

0 voti

2 Commenti

Erdem Aktürk
Erdem Aktürk il 10 Dic 2022
I would like to take this force equation. I use get func to take the equation from GUI and it comes as string type.I would like to change and insert the xt,yt,zt to the x,y,z. how can I do this ?
Jan
Jan il 10 Dic 2022
Please edit the question to post additional information. Posting an answer and a comment to this answer is less useful. Screenshots are only useful to show images or diagrams. Posting code as screenshot forces the readers to re-type them for writing an answer.
What does this mean: " I use get func to take the equation from GUI"?

Accedi per commentare.

Richiesto:

il 9 Dic 2022

Commentato:

Jan
il 10 Dic 2022

Community Treasure Hunt

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

Start Hunting!

Translated by