double array in cell, how to indexing? <p>I have an cell including array as below format</p> <pre><code>a{x,y,z}(i,j) </code></pre> <p>a is 3 dimensional cell and each cell have i*j array</p> <pre><code>a &lt;79x95x68 cell&gt; val(:,:,1) = Columns 1 through 2 [6x6 double] [6x6 double] [6x6 double] [6x6 double] [6x6 double] [6x6 double] </code></pre> <p>i want to rearrange that as below format</p> <pre><code>a{i,j}(x,y,z) </code></pre> <p>how to? any good idea? i have to do iteration?</p> <p>matlab say, a{:,:}(x,y,z) is bad cell referencing.........</p>