How can I convert a equation into an character array?
古いコメントを表示
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 件のコメント
Emre Sahin
2018 年 10 月 19 日
Guillaume
2018 年 10 月 19 日
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
2018 年 10 月 19 日
編集済み: Emre Sahin
2018 年 10 月 20 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!