Finding coefficients of a polynomial from roots
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!