Cube root of a complex function

9 visualizaciones (últimos 30 días)
Bhumika Kushboo Beeharry
Bhumika Kushboo Beeharry el 14 de Nov. de 2018
Respondida: James Tursa el 14 de Nov. de 2018
I need to solve Z^3 = -8-3i, and obtain all cube roots of -8-3i showing that the sum of the cube roots is zero using matlab.

Respuesta aceptada

madhan ravi
madhan ravi el 14 de Nov. de 2018
syms Z
ROOTS=solve(Z^3 == -8-3i,Z)
logical(sum(ROOTS)==0)

Más respuestas (1)

James Tursa
James Tursa el 14 de Nov. de 2018
Another way is to simply use the roots( ) function with appropriate polynomial coefficients:
>> roots([1 0 0 (8+3i)])
ans =
0.8036 + 1.8798i
1.2261 - 1.6359i
-2.0297 - 0.2439i

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by