How can I solve this question
显示 更早的评论
factorize the polynomial P(x), for example: x^3-3x^2+x+5=(x+1)(x-2-i)(x-2+i)
回答(1 个)
Andrei Bobrov
2013-4-27
syms x
out = prod(x - solve(x^3-3*x^2+x+5))
类别
在 帮助中心 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!