[Scilab-users] simple plot function

Pierre Vuillemin contact at pierre-vuillemin.fr
Mon Mar 27 13:46:36 CEST 2017


Hi, 

A dot is missing in the argument of the hyperbolic sin for the division
to be performed element-wise, 

    x=0:0.1:1;   
    y=exp((x.^4+x.^2-x+(5).^(0.5))/5)+sinh((x.^3+21*x+9) ./
(21*x+6))-3.0;
    plot(x,y) 

Regards, 

Pierre 

Le 27.03.2017 13:39, Luciano Andino a écrit :

> Hi, doing a simple plot of
> x in [0,1]
> 
> x=0:0.1:1;    
> y=exp((x.^4+x.^2-x+(5).^(0.5))/5)+sinh((x.^3+21*x+9)/(21*x+6))-3.0;
> plot(x,y)
> 
> graphic differs from this online calc:
> 
> https://www.desmos.com/calculator/jehn17mvvb
> 
> Don't know what I am doing wrong,
> 
> thanks in advance
> 
> -- 
> 
> Luciano Andino
> Ing. en Sistemas de Información 
> UTN FRSF
> BMSTU
> 
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170327/3e406910/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7552 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20170327/3e406910/attachment.png>


More information about the users mailing list