How can I convert a equation into an character array?
Mostrar comentarios más antiguos
Hi community,
I want to convert an equation like: N=1-X into an character array like: Z='N=1-X' or the other way around. The problem is functions like string2num() do not accept variables as input.
4 comentarios
Emre Sahin
el 19 de Oct. de 2018
Guillaume
el 19 de Oct. de 2018
Again, as Matt asked, what form does the equation takes in your code? There are many ways to code an equation for plotting and the answer is going to depend on how you've done it.
Emre Sahin
el 19 de Oct. de 2018
Editada: Emre Sahin
el 20 de Oct. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!