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!