Cube root of a complex function
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
James Tursa
2018-11-14
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
类别
在 帮助中心 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!