convert string and sym equstion to use maple symbolic engine !
1 回表示 (過去 30 日間)
古いコメントを表示
hi everyone, i have an equation, a*x^2+1 . i want to solve this using maple symbolic engine. i use following , but it ended up with error :

i think the problem is about the string ' ' which i should put equations into to be solved ! how can i convert this string to a normal symbolic equation ? how can i convert 'a*x^2-1' to 10*x^2-1 , to solve the problem ? tnx for help.
0 件のコメント
回答 (1 件)
Birdman
2018 年 1 月 23 日
syms a x
eq=a*x^2-1
%%symbolic substitution for a in eq
eq1=subs(eq,a,10)
solve(eq1,x)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!