title: Error using horzcat Dimensions of arrays being concatenated are not consistent. Matlab
body: <p>I am geting the Error using horzcat
  Dimensions of arrays being concatenated are not consistent.</p>
  <p>I am trying to do the following:</p>
  <pre><code>Y = [single(time)' Bmag' Br' Bt' Bn']
  </code></pre>
  <p>However, my arrays are of the same size:</p>
  <p><a href="https://i.stack.imgur.com/fGLsE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fGLsE.png" alt="enter image description here" /></a></p>