Separate a polynomial as a product of 2 polynomials

조회 수: 2 (최근 30일)
Gombo Choigaalaa
Gombo Choigaalaa 2018년 9월 27일
댓글: Gombo Choigaalaa 2018년 9월 27일
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
John D'Errico
John D'Errico 2018년 9월 27일
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 2018년 9월 27일
whole internet had no example answer to this :( that is sad human reality ;P Good place here :)

댓글을 달려면 로그인하십시오.

채택된 답변

KSSV
KSSV 2018년 9월 27일
syms x
p = x^3-3*x^2+x-3 ;
factor(p)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by