Replace variables twice ?
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
For example i got these codes

So in dS i want the zx and zy be replaced by diff(...) that i typed before And in zx and zy i want to replace them with rcosphi and rsinphi so the highlighted line in the command window will have rcosphi and rsinphi instead of x and y
3 commentaires
Geoff Hayes
le 16 Mai 2018
Tran - but aren't you setting x and y to be r*cos(phi) and r*sin(phi) respectively? Or is it just in the output that you want to see this?
Tran Thien
le 16 Mai 2018
Modifié(e) : Tran Thien
le 16 Mai 2018
Geoff Hayes
le 17 Mai 2018
Tran's answer moved here
Any help ?
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!