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!