Azzera filtri
Azzera filtri

Positive roots only for cubic eqn

3 visualizzazioni (ultimi 30 giorni)
matlab
matlab il 23 Giu 2020
Modificato: madhan ravi il 23 Giu 2020
How I get positive roots x^3 − 5x^2 − 2x + 24 = 0 Using syms x eqn=x^3 − 5x^2 − 2x + 24 ==0

Risposta accettata

madhan ravi
madhan ravi il 23 Giu 2020
Modificato: madhan ravi il 23 Giu 2020
ROOTS = roots([1, -5, -2, 24]);
Wanted = ROOTS(ROOTS > 0)

Più risposte (0)

Categorie

Scopri di più su Programming 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