[Scilab-users] for-loop error

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


I've disabled everything inside the loop, in order to understand how the
"i*Nstep" goes on. That's the result:

i=1; Nstep=13; k=13 i*Nstep=13

 i=2; Nstep=13; k=26 i*Nstep=26

 i=3; Nstep=13; k=39 i*Nstep=39

 i=4; Nstep=13; k=52 i*Nstep=52

 i=5; Nstep=13; k=65 i*Nstep=65

 i=6; Nstep=13; k=78 i*Nstep=78

 i=7; Nstep=13; k=91 i*Nstep=91

 i=8; Nstep=13; k=104 i*Nstep=104

 i=9; Nstep=13; k=117 i*Nstep=117

 i=10; Nstep=13; k=-126 i*Nstep=-126

 i=11; Nstep=13; k=-113 i*Nstep=-113

 i=12; Nstep=13; k=-100 i*Nstep=-100

 i=13; Nstep=13; k=-87 i*Nstep=-87

 i=14; Nstep=13; k=-74 i*Nstep=-74

 i=15; Nstep=13; k=-61 i*Nstep=-61

 i=16; Nstep=13; k=-48 i*Nstep=-48

 i=17; Nstep=13; k=-35 i*Nstep=-35

 i=18; Nstep=13; k=-22 i*Nstep=-22

 i=19; Nstep=13; k=-9 i*Nstep=-9

 i=20; Nstep=13; k=4 i*Nstep=4

does anybody have an idea???
thanks! 
anna



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



More information about the users mailing list