필터 지우기
필터 지우기

Finding coefficients of a polynomial from roots

조회 수: 1 (최근 30일)
Ahsan Zamee
Ahsan Zamee 2015년 2월 18일
답변: Roger Stafford 2015년 2월 18일
I have roots of a third order system. Now i need a function to get co-efficients of the polynomial for those roots. Thanks in advance

답변 (1개)

Roger Stafford
Roger Stafford 2015년 2월 18일
If r1, r2, and r3 are the roots, then a polynomial with those roots is:
p(x) = (x-r1)*(x-r2)*(x-r3) = x^3-(r1+r2+r3)*x^2+(r2*r3+r3*r1+r1*r2)*x-r1*r2*r3

카테고리

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