Mercurial > octave-nkf
diff doc/interpreter/stmt.txi @ 7001:8b0cfeb06365
[project @ 2007-10-10 18:02:59 by jwe]
author | jwe |
---|---|
date | Wed, 10 Oct 2007 18:03:02 +0000 |
parents | 46d1ad37d943 |
children | fd42779a8428 |
line wrap: on
line diff
--- a/doc/interpreter/stmt.txi Wed Oct 10 17:51:00 2007 +0000 +++ b/doc/interpreter/stmt.txi Wed Oct 10 18:03:02 2007 +0000 @@ -551,7 +551,7 @@ @noindent In this case the variable @code{i} takes on the value of the columns of the matrix or cell matrix. So the first loop iterates twice, producing -two column vectors @code{[1;2]}, follwed by @code{[3;4]}, and likewise +two column vectors @code{[1;2]}, followed by @code{[3;4]}, and likewise for the loop over the cell array. This can be extended to loops over multidimensional arrays. For example