Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Why I got a complex number rather than a real number in the program as below?

1 visualización (últimos 30 días)
Shawn Miller
Shawn Miller el 18 de Feb. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
q=@(x)(x-1.0).^(1.0./5.0).*5.0+5.0;
q(rand);

Respuestas (1)

Steven Lord
Steven Lord el 18 de Feb. de 2016
You're asking for the fifth root, not the cube root, but the explanation is the same as in this previous Answer.

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by