polynomial definition

5 Ansichten (letzte 30 Tage)
klaus stilla
klaus stilla am 21 Mär. 2011
how to input polynomial in the form...
(x-a)^n+(x-a)^(n-1).....+(x-a)+c=0
  1 Kommentar
John D'Errico
John D'Errico am 21 Mär. 2011
"Input" a polynomial? What will you do with it? Knowing your goal here is surely the important thing.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Polynomials finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by