[Scilab-users] for-loop does't work

fujimoto2005 fujimoto2005 at gmail.com
Fri Jun 5 12:36:58 CEST 2015


I run the following script.
It works at 4th line
But It failes from 5th line to 7th line.
It seems to be right
Where is this script wrong?

*******************
A=zeros(151,3);
x=[0.0	5.0	10.0	15.0	19.0]
i=5
A(1,:)=x(i)
for i=1:5
    A(1,:)=x(i); 
end



--
View this message in context: http://mailinglists.scilab.org/for-loop-does-t-work-tp4032382.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list