Borrar filtros
Borrar filtros

Separate a polynomial as a product of 2 polynomials

2 visualizaciones (últimos 30 días)
Gombo Choigaalaa
Gombo Choigaalaa el 27 de Sept. de 2018
Comentada: Gombo Choigaalaa el 27 de Sept. de 2018
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 :)
  2 comentarios
John D'Errico
John D'Errico el 27 de Sept. de 2018
Basic math here. What do you know about the roots of a polynomial? What does that tell you? What can you do with the roots, IF you knew those roots? How does that help you to factor the polynomial?
Finally, what tools are available in MATLAB to compute the roots of a polynomial? (Hint: roots, solve, vpasolve) You can even use eig, if you know how to compute a companion matrix, and what that tells you. (Hint: compan)
But, sorry, I won't do your homework.
Gombo Choigaalaa
Gombo Choigaalaa el 27 de Sept. de 2018
whole internet had no example answer to this :( that is sad human reality ;P Good place here :)

Iniciar sesión para comentar.

Respuesta aceptada

KSSV
KSSV el 27 de Sept. de 2018
syms x
p = x^3-3*x^2+x-3 ;
factor(p)

Más respuestas (0)

Categorías

Más información sobre Polynomials en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by