next up previous contents
Next: User Defined Functions Up: Scripting Previous: while

for

The for structure will repeatedly evaluate a block of code a set number of times, by incrementing a counter variable.

for k=1:10\
a=a+1\
end



Arun Francis Rodrigues
1999-08-17