title: Displaying a matrix obtained from a vectorised structure
body: <p>I am trying to extract the coordinates located in the variable <code>x</code> within a .mat structure. I would like to print them as a three column matrix. Let's say:</p>
  <pre><code>-5543837.67700032 -2054567.16633347 2387852.25825667
   4641938.565315761 393003.28157792 4133325.70392322
   -3957408.7414133 3310229.46968631 3737494.72491701
   1492206.38965564 -4458130.51073730 4296015.51539152
   4075539.69798060 931735.497964395 4801629.46009471
   3451207.69353006 3060375.44622100 4391915.05780934
  </code></pre>
  <p>I know that I can get them with</p>
  <pre class="lang-matlab prettyprint-override"><code>file=load('./filee_scan.mat')
  stat = [file.scan.stat]';
  x = [stat.x]';
  </code></pre>
  <p>But I get something like:</p>
  <pre><code>-5543837.67700032
  -2054567.16633347
   2387852.25825667
   4641938.565315761
   393003.28157792
   4133325.70392322
   % :: and so on
  </code></pre>
  <p>I would like to print them as I showed at the beginning (<code>x</code> as a vector of 3 coordinates and one line per station) but I don't know how to treat them. I have tried with loops but I really don't know how to express them.</p>
  <p>How can I display my coordinates as an n <em>-by-</em> 3 matrix?</p>
  <p>This is the scan file:
  <a href="https://i.stack.imgur.com/mGRVs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mGRVs.png" alt="scan file" /></a></p>
  <p>This is <code>x</code>:
  <a href="https://i.stack.imgur.com/3OKvU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3OKvU.png" alt="x variable" /></a></p>