Filter löschen
Filter löschen

convert string and sym equstion to use maple symbolic engine !

1 Ansicht (letzte 30 Tage)
mehdi Jafari
mehdi Jafari am 23 Jan. 2018
Beantwortet: Birdman am 23 Jan. 2018
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.

Antworten (1)

Birdman
Birdman am 23 Jan. 2018
syms a x
eq=a*x^2-1
%%symbolic substitution for a in eq
eq1=subs(eq,a,10)
solve(eq1,x)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by