polynomial definition

how to input polynomial in the form...
(x-a)^n+(x-a)^(n-1).....+(x-a)+c=0

1 个评论

"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

0 个投票

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

类别

在 帮助中心 和 File Exchange 中查找有关 Polynomials 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by