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

fujimoto2005 fujimoto2005 at gmail.com
Fri Jun 5 14:01:31 CEST 2015


It is a part of such as the following script.

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

But I found the cause of the error.
';' after x(i) is mistyped as two bite character ';' instead of ';'.







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



More information about the users mailing list