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)

Answers (1)

syms x
out = prod(x - solve(x^3-3*x^2+x+5))

Categories

Asked:

on 27 Apr 2013

Community Treasure Hunt

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

Start Hunting!