polynomial definition

5 visualizzazioni (ultimi 30 giorni)
klaus stilla
klaus stilla il 21 Mar 2011
how to input polynomial in the form...
(x-a)^n+(x-a)^(n-1).....+(x-a)+c=0
  1 Commento
John D'Errico
John D'Errico il 21 Mar 2011
"Input" a polynomial? What will you do with it? Knowing your goal here is surely the important thing.

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Polynomials in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by