Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Replace variables twice ?

1 visualización (últimos 30 días)
Tran Thien
Tran Thien el 16 de Mayo de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
Tran Thien
Tran Thien el 16 de Mayo de 2018
Editada: Tran Thien el 16 de Mayo de 2018
Yes But my goal is to solve an intergral in which 'phi' is the variable so I want 'phi's in the highlighted funtion not x and y . I thought if i set x and y like that it will automically replace them with r*cos(phi) and r*Sin(phi) in all my functions
Geoff Hayes
Geoff Hayes el 17 de Mayo de 2018
Tran's answer moved here
Any help ?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by