Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Why I got a complex number rather than a real number in the program as below?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
q=@(x)(x-1.0).^(1.0./5.0).*5.0+5.0;
q(rand);
0 Commenti
Risposte (1)
Steven Lord
il 18 Feb 2016
You're asking for the fifth root, not the cube root, but the explanation is the same as in this previous Answer.
0 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!