使用 horzcat 时出错 连接的数组维度不一致。软件

Error using horzcat Dimensions of arrays being concatenated are not consistent. Matlab

我在使用 horzcat 时遇到错误 串联的数组维度不一致。

我正在尝试执行以下操作:

Y = [single(time)' Bmag' Br' Bt' Bn']

但是,我的数组大小相同:

你的时间数组是 1x3060 而不是 1x3600。