How to simplify a symbolic polynomial with respect to x?
Show older comments
Thanks. What I want is:
syms a b c x
equ = (x-a)*(x-b)+(x-c)
%some code
ans = x^2-(a+b-1)*x+a*b-c
Accepted Answer
More Answers (0)
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!