Hello,

The operator ^ seems to return the real part of one of the complex roots of 
x^3=1.
If x=[-10:1:10]
and
y = x^(1/3);
Thus, for x<0, the values of y are half the opposite of values obtained with 
x>0.
With y=x.^(1/3), the values of y are complex for x<0.
HTH
Denis
De : users [mailto:users-boun...@lists.scilab.org] De la part de Hector R. Lepez
Envoyé : vendredi 9 mars 2018 11:58
À : users@lists.scilab.org
Objet : [Scilab-users] Help me plot y = x^(1/3);

I have problems to graph the function

x=[-10:1:10]

y = x^(1/3);

plot(x,y);

the same in plot of google gives a graph but scilab does anything with the sign.

Héctor Lépez
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to