Force field in GUI

2 views (last 30 days)
Erdem Aktürk
Erdem Aktürk on 9 Dec 2022
Commented: Jan on 10 Dec 2022
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 Comment
Jan
Jan on 9 Dec 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?

Sign in to comment.

Answers (1)

Erdem Aktürk
Erdem Aktürk on 10 Dec 2022
  2 Comments
Erdem Aktürk
Erdem Aktürk on 10 Dec 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 on 10 Dec 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"?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!