Force field in GUI

2 Ansichten (letzte 30 Tage)
Erdem Aktürk
Erdem Aktürk am 9 Dez. 2022
Kommentiert: Jan am 10 Dez. 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 Kommentar
Jan
Jan am 9 Dez. 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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Erdem Aktürk
Erdem Aktürk am 10 Dez. 2022
  2 Kommentare
Erdem Aktürk
Erdem Aktürk am 10 Dez. 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 am 10 Dez. 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"?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by