polynomial definition

8 次查看(过去 30 天)
klaus stilla
klaus stilla 2011-3-21
how to input polynomial in the form...
(x-a)^n+(x-a)^(n-1).....+(x-a)+c=0
  1 个评论
John D'Errico
John D'Errico 2011-3-21
"Input" a polynomial? What will you do with it? Knowing your goal here is surely the important thing.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2011-3-21
syms x a c MyPoly = (x-a)^n + (x-a)^(n-1)... +(x-a)+c;
You could follow that with
solve(MyPoly,x)

类别

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