Cube root of a complex function
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuesta aceptada
madhan ravi
el 14 de Nov. de 2018
syms Z
ROOTS=solve(Z^3 == -8-3i,Z)
logical(sum(ROOTS)==0)
0 comentarios
Más respuestas (1)
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
0 comentarios
Ver también
Categorías
Más información sobre Polynomials en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!