Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

How can I solve this question

Asked by Mohammad Yasir Muneeb on 27 Apr 2013

factorize the polynomial P(x), for example: x^3-3x^2+x+5=(x+1)(x-2-i)(x-2+i)

0 Comments

Mohammad Yasir Muneeb

Products

No products are associated with this question.

1 Answer

Answer by Andrei Bobrov on 27 Apr 2013
syms x
out = prod(x - solve(x^3-3*x^2+x+5))

0 Comments

Andrei Bobrov

Contact us