Good morning,
Here is an update of my "problem".
First of all I had a problem of compatibility between Scilab/Xcos and the
toolbox CPGE.
Before I was using Scilab 6.0.1 and CPGE Version: 1.6.0.
Now, with Scilab 5.4.1 and CPGE Version: 1.5.2, the Bode plot works. But it
doesn't give the result
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
Le 09/03/2018 à 11:57, Hector R. Lepez a écrit :
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
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
This solution worked, could you explain how you put it together? What does it
mean to put a sign (x) * ?? Thank you
Héctor Lépez Cel: 154137337
El viernes, 9 de marzo de 2018 09:25:18 ART, Stéphane Mottelet
escribió:
Le 09/03/2018 à 11:57, Hector R. Lepez
Hello Hector,
> De : Hector R. Lepez
> Envoyé : vendredi 9 mars 2018 13:58
>
> What does it mean to put a sign (x) * ??
You'll find some answers here:
https://help.scilab.org/docs/6.0.1/en_US/sign.html
https://help.scilab.org/docs/6.0.1/en_US/hat.html