我有一个包含如下单元格的单元格数组:
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>
每个单元格都包含数值,例如A{1,1}=[1.6386e+03] [1589] [406.9268] [184.6770]
鉴于此a={'el1','el2','el3','el4'}
,我想获得以下形式的输出 B:
B{1}=[a;A{1,1};A{2,1};A{3,1}...]
B{1}=
'el1' 'el2' 'el3' 'el4'
1638.60000000000 1589 406.926813049605 184.676951989012
1665.10000000000 1614.60000000000 399.333905068047 362.462074500098
1709.60000000000 1657.80000000000 389.181059994089 529.870013181953
...
B{2}=[a;A{1,2};A{2,2};A{3,2}...]
...
如何在不写入每个单元格的情况下执行此操作(即 A{1,1};A{1,2}...)