How can I solve the polynomial equation of delta=c1*x​^4+c2*x^3+​c3*x^2+c4*​x+c5 ?

 Réponse acceptée

Matt Fig
Matt Fig le 11 Sep 2012
Modifié(e) : Matt Fig le 11 Sep 2012
roots([c1 c2 c3 c4 c5-delta])
For example, given: 5 = 3*x^4 + 2*x^3 + x^2 - 5*x +3
x = roots([3 2 1 -5 3-5]) % These are the solutions.
3*x.^4 + 2*x.^3 + x.^2 - 5*x +3 % Check them.

Plus de réponses (0)

Catégories

En savoir plus sur Polynomials dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by