help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'for' loop on elements of cell array (octave-3.4.2) - is it the way


From: John W. Eaton
Subject: Re: 'for' loop on elements of cell array (octave-3.4.2) - is it the way it is supposed to be ?
Date: Thu, 2 Feb 2012 13:48:34 -0500

On  2-Feb-2012, Sergei Steshenko wrote:

| > 
http://www.gnu.org/software/octave/doc/interpreter/Cell-Arrays.html#Cell-Arrays
| > 
| > jwe
| 
| Well, in the link above I read among other things:
| 
| "
| A cell array is a container
| class able to do just that.  In general cell arrays work just like
| N-dimensional arrays ...
| "
| 
| and my question is: what is column of, say, 3D (cell) array ? I am asking 
about columns because 'for' loop documentation mentions them.

http://www.gnu.org/software/octave/doc/interpreter/The-_003ccode_003efor_003c_002fcode_003e-Statement.html#The-_003ccode_003efor_003c_002fcode_003e-Statement

See the example at the bottom of the page.  The reshaping behavior
described there is the same for N-d cells and N-d numeric arrays.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]