|
I have a stuct of 500 cell arrays and each cell array contains a stuct, such that the "bottom layer" of data has the stucture:
S{1 row, 500 columns}.s <1 x 1200 double>
ultimately I want to create a matrix of the 500 cell array iterations of s <1 x 1200 doubles> with the shape 500 x 1200
I can grap a single element from the first cell array with
M = S.s
However, any attempt to grap more than one (or anything other that the first cell array {1,1} result in various errors. For example:
M = S{:,:}.s;
Field reference for multiple structure elements that is
followed by more reference blocks is an error.
Any suggestion would be much appreciated.
|