Info
此问题已关闭。 请重新打开它进行编辑或回答。
Why I got a complex number rather than a real number in the program as below?
1 次查看(过去 30 天)
显示 更早的评论
q=@(x)(x-1.0).^(1.0./5.0).*5.0+5.0;
q(rand);
0 个评论
回答(1 个)
Steven Lord
2016-2-18
You're asking for the fifth root, not the cube root, but the explanation is the same as in this previous Answer.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!