Cube root of a complex function
Mostrar comentarios más antiguos
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
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
Categorías
Más información sobre Polynomials en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!