Lose the single quotes and it will solve for you, too:
syms a b x B = solve(a*x^2 + b*x, b)
B =
-a*x
Lose the single quotes and it will solve for you, too:
syms a b x B = solve(a*x^2 + b*x, b)
B =
-a*x
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!