How can I convert a equation into an character array?
Afficher commentaires plus anciens
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 commentaires
Emre Sahin
le 19 Oct 2018
Guillaume
le 19 Oct 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
le 19 Oct 2018
Modifié(e) : Emre Sahin
le 20 Oct 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Type Conversion dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!