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@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users