MATLAB: Cube root of a complex function

MATLAB

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.

Best Answer

syms Z
ROOTS=solve(Z^3 == -8-3i,Z)
logical(sum(ROOTS)==0)