Cell Array containing cell array
I have a cell array containing 1x4 cells
A=
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
<1x4 cell> <1x4 cell> <1x4 cell>
What i'm looking for is to make a cell array containing something like the
following
B={'str1','str2','str3','str4';cell2mat(A{1,1})}
A cell array comes from another operations where the size in rows and
columns can vary, so i would like to know weather or not this could be
automatized using a for loop or something like that.
No comments:
Post a Comment