The simplify function is not completely simplifying my polynomials.
8 次查看(过去 30 天)
显示 更早的评论
I am struggling to figure out why the simplify function will not completely simplify my polynomials.
(3x-4)(x^2 – 2x + 4) is what I am trying to simplify to (3x^3-10x^2+20x-16) but it just spits back out my original.
My code is below.
clear
clc
syms x
prob2 = ((3*x-4)*(x^2-2*x+4));
problem2 = simplify(prob2)
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

