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 commentaire

Jan
Jan le 9 Déc 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?

Connectez-vous pour commenter.

Réponses (1)

Erdem Aktürk
Erdem Aktürk le 10 Déc 2022

0 votes

2 commentaires

Erdem Aktürk
Erdem Aktürk le 10 Déc 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 le 10 Déc 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"?

Connectez-vous pour commenter.

Commenté :

Jan
le 10 Déc 2022

Community Treasure Hunt

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

Start Hunting!

Translated by