soving polynomial equation with negative powers

 Risposta accettata

If the last term is Z * x^(-P), then multiply the equation by x^P, transforming it into
a*x^(P-1) + b*x^(P-2) + c*x^(P-3) + .... Z = 0
then you can use roots()
If you think about this for a second, you can see that you can skip the roots() step if your coefficients are arranged in the right order.

Categorie

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by