The algorithm to calculate the fractional power in MATLAB?
9 次查看(过去 30 天)
显示 更早的评论
>> (-1).^(2/3)
ans =
-0.5000 + 0.8660i
>> ((-1).^2).^(1/3)
ans =
1
I tried to calculate the fractional power 2/3 of the negative -1, then I found the results above...Orz...Could anyone help me to understand this issue? THX.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Motor Drives 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!