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