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!