求助:如何用matlab中cell定义数组
cell指令可以在matlab中定义n*n维矩阵,如何向定义的子矩阵中写入数据?
cell指令可以在matlab中定义n*n维矩阵,如何向定义的子矩阵中写入数据?
>> a=[1,2,3];
>> b=[2;2;2];
>> c{1,1} = a;
>> c{1,2} = b;
>> c{2,1} = a;
>> c
c =
[1x3 double] [3x1 double]
[1x3 double] []