Replace variables twice ?
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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 个评论
Geoff Hayes
2018-5-16
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
2018-5-16
编辑:Tran Thien
2018-5-16
Geoff Hayes
2018-5-17
Tran's answer moved here
Any help ?
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!