how i can use roots in matlab

1 visualizzazione (ultimi 30 giorni)
ays ays
ays ays il 2 Lug 2019
Commentato: ays ays il 2 Lug 2019
i need help to use roots function in matlab i have this
7x^4+5x^3=-4x-5
and i need to do it with the roots anyone can helpe me ?
  3 Commenti
Torsten
Torsten il 2 Lug 2019
Modificato: Torsten il 2 Lug 2019
Hint:
7x^4 + 5x^3 = -4x - 5
<->
7x^4 + 5x^3 + 0x^2 + 4x + 5 = 0
ays ays
ays ays il 2 Lug 2019
thx :)

Accedi per commentare.

Risposta accettata

Stephan
Stephan il 2 Lug 2019
Modificato: Stephan il 2 Lug 2019
RHS has to be zero, then put the coefficients in descending order into a vector - read here:
p = [7 5 0 4 5]
result = roots(p)

Più risposte (0)

Categorie

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by