[Scilab-users] Ploting rational function.

Nikolay Strelkov n.strelkov at gmail.com
Fri Jan 6 16:48:05 CET 2017


Dear Jose!

T is a vector, so you should use "./" instead of "/":

T=1.1:0.1:5;
Y=(T+1)./T; // T is a vector.
plot(T,Y);



--




*With best regards,Ph.D., assistant professor at MPEI
<http://mpei.ru/lang/en/Pages/default.aspx>,IEEE member,maintainer of
Mathieu functions toolbox for Scilab
<http://atoms.scilab.org/toolboxes/Mathieu/>,Nikolay Strelkov.*

2017-01-06 18:42 GMT+03:00 Jose Luis Hurtado Balcazar <jlhb1984 at gmail.com>:

> Hi.
>
> Can you help me with tutorial to graph rational functions. I have troubles
> with y=(x+1)/x. SCILAB only is graphing a number like a constant.
>
> T=1.1:0.1:5;
>
> -->Y=(T+1)/T;
>
> -->plot(T,Y)
>
> What am I doing bad?
>
> Thank you by your help!
>
> _______________________________________________
> 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/20170106/7b8a518b/attachment.htm>


More information about the users mailing list