简体   繁体   English

使用 horzcat 时出错 连接的 arrays 的维度不一致。 Matlab

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

I am geting the Error using horzcat Dimensions of arrays being concatenated are not consistent.我在使用 horzcat 时遇到错误 连接的 arrays 的维度不一致。

I am trying to do the following:我正在尝试执行以下操作:

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

However, my arrays are of the same size:但是,我的 arrays 大小相同:

在此处输入图像描述

Your time array is 1x3060 instead of 1x3600.您的时间数组是 1x3060 而不是 1x3600。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Matlab 中用一个三阶微分方程求解微分方程组的误差。 数组的维度不一致 - Error solving a system of differential equations with one third order differential equation in Matlab. Dimensions of array are not consistent 如何预分配随horzcat和vertcat增长的数组 - How to preallocate arrays that grow with horzcat and vertcat 从具有多个维度的数组中绘制MATLAB数据 - Plotting MATLAB data from arrays with several dimensions 从matlab进行scipy转换,错误:数组的维数必须相同 - scipy convert from matlab ,error: arrays must have same number of dimensions Matlab 编码器中的错误:索引超出数组尺寸 - Error in Matlab Coder: Index exceeds array dimensions numpy数组连接错误:0-d数组不能连接 - numpy array concatenation error: 0-d arrays can't be concatenated 堆叠/串联数组和“无”? - Stacking/concatenated arrays and “None”? 在数组内部串联 arrays - 值错误:无法串联零维 arrays - Concatenate arrays inside of an array - Value Error: Zero dimension arrays cannot be concatenated 使用不同维度的数组在C中的指针数组对等 - pointer array equivalence in C using arrays of different dimensions 如何使用 numpy 附加具有不同尺寸和形状的 2 个 numpy 图像数组 - How to append 2 numpy Image Arrays with different dimensions and shapes using numpy
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM