for(1)

NAME
for - language keyword for loops

DESCRIPTION
Used to define loops. Its syntax is:

If  expression is a matrix or a row vector, variable
takes as values the values of each column of the matrix.

Useful example : for variable=n1:step:n2,  ...,end

If expression is a list variable takes as values the
successive entries of the list.

EXAMPLE
for i = 1:n, for j = 1:n, a(i,j) = 1/(i+j-1);end;end
for j = 2:n-1, a(j,j) = j; end; a
for  e=eye(3,3),e,end
for v =a,...,end
for j=1:n,v=a(:,j) ...,end
for l=list(1,2,'example'); l,end