Finding roots of the polynomial.

4 visualizaciones (últimos 30 días)
Mike Hawk
Mike Hawk el 9 de Mayo de 2019
Respondida: Jothi el 13 de Ag. de 2022
using roots command.

Respuestas (1)

Jothi
Jothi el 13 de Ag. de 2022
p=[3 -2 -4]
p =
3 -2 -4
>> r = roots(p)
r =
1.5352
-0.8685
>> p = [1 0 0 0 -1]
p =
1 0 0 0 -1
>> r = roots(p)
r =
-1.0000 + 0.0000i
0.0000 + 1.0000i
0.0000 - 1.0000i
1.0000 + 0.0000i

Categorías

Más información sobre Polynomials en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by