matlab res = Columns 1 through 6[1x74 double] [1x5 double] [1x90 double] [1x198 double] [1x11 double] [1x70 double]Columns 7 through 12[1x2 double] [1x18 double] [1x129 double] [1x52 double] [1x6 double] [1x11 double]Columns 13 through 17[1x39 double
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 23:35:52
matlab res = Columns 1 through 6[1x74 double] [1x5 double] [1x90 double] [1x198 double] [1x11 double] [1x70 double]Columns 7 through 12[1x2 double] [1x18 double] [1x129 double] [1x52 double] [1x6 double] [1x11 double]Columns 13 through 17[1x39 double
matlab
res =
Columns 1 through 6
[1x74 double] [1x5 double] [1x90 double] [1x198 double] [1x11 double] [1x70 double]
Columns 7 through 12
[1x2 double] [1x18 double] [1x129 double] [1x52 double] [1x6 double] [1x11 double]
Columns 13 through 17
[1x39 double] [1x71 double] [1x138 double] [1x131 double] [1x310 double]
Columns 18 through 23
[1x15 double] [1x57 double] [1x63 double] [1x223 double] [1x6 double] [1x26 double]
Columns 24 through 28
[1x17 double] [1x8 double] [1x2 double] [1x87 double] [1x138 double]
res矩阵中还嵌套着矩阵.怎么样将res矩阵中的这些元素进行合并然后进行重新分配
matlab res = Columns 1 through 6[1x74 double] [1x5 double] [1x90 double] [1x198 double] [1x11 double] [1x70 double]Columns 7 through 12[1x2 double] [1x18 double] [1x129 double] [1x52 double] [1x6 double] [1x11 double]Columns 13 through 17[1x39 double
% res 是一个元胞数组
A = cell2mat(res); % 转换为 1 X n 的一维数组