MATLAB: Separate a polynomial as a product of 2 polynomials

polynomialsx^3x2

I have random: x^3-3*x^2+x-3. I need to make it (x+-number)*(x+-number). A product of 2 polynomials == multiplying each other. Can you help <3 Fresh blood here 🙂

Best Answer

syms x
p = x^3-3*x^2+x-3 ;
factor(p)
Related Question