How can I do polynominal factorization?

조회 수: 8 (최근 30일)
Deokjae Jeong
Deokjae Jeong 2016년 11월 13일
댓글: Star Strider 2016년 11월 13일
I want to transfrom from left hand side to right hand side. What function sholud I use?

채택된 답변

Star Strider
Star Strider 2016년 11월 13일
You are factoring a 3-degree polynomial, not analytically easy.
The best I can do is:
syms k1 k2 k3 x real
assume(k1 ~= 0)
assume(k2 ~= 0)
assume(k3 ~= 0)
Eqn = 1 + k1*x + k2*x^2 + k3*x^3;
F1 = solve(Eqn == 0, x, 'MaxDegree',2, 'Real',1);
F1v = vpa(F1,3);
abc = vpa(simplify(F1v, 'steps', 30), 3) % ‘a’, ‘b’, ‘c’ Coefficients
Simplifying the result or attempting to find subexpressions that would make it more tractable are not possible. No worries about the warning, but it is instructive.
  댓글 수: 4
Deokjae Jeong
Deokjae Jeong 2016년 11월 13일
Oh, my mistake. I accepted it.
Star Strider
Star Strider 2016년 11월 13일
Thank you!

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by