[Scilab-users] for-loop error

anna28 parravicini.anna at gmail.com
Thu Oct 29 15:07:40 CET 2020


Hello,
thanks for your answer.

About the "PS", in fact, in my script, the name is not "matrix"... I've
simplified the name to report it in the post (with a not 'clever' name,
actually).


About the answer itself, yes, all the elements have 20 characters.

The point is the following:
"
j=7; Nstep=18; k=126 j*Nstep=126
j=8; Nstep=18; k=-112 j*Nstep=-112"

Why does it make 8*18=-112?
The matrix would have the index 8*18=144 but clearly it doesn't the index
-112....





--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html



More information about the users mailing list