title: Concatenating matrix in MATLAB results in loss of precision
body: <p>I have a column matrix say temp1 with floating point numbers in the following format(displayed this way using format long g):</p>
  
  <pre><code>1334320224.86767
  1334320225.03415
  1334320225.20064
  </code></pre>
  
  <p>and another nx3 matrix (temp2) with values like so:</p>
  
  <pre><code>25.59989 -17.82167 31.19241
  25.17558 -17.59459 30.71448
  25.18788 -17.39987 30.61347
  </code></pre>
  
  <p>I concatenate the 2 matrices column wise, temp = [temp1 temp2];
  The resulting matrix is:</p>
  
  <pre><code>1.334305e+09 24.40084 -17.98591 30.31327
  1.334305e+09 24.23554 -17.68831 30.00396
  1.334305e+09 25.31328 -17.61529 30.83927
  </code></pre>
  
  <p>I want the resulting matrix to have the original precision of temp1. How do I do this? I have already tried format long g. Writing to a file with dlmwrite and precision set to %.5f results in the fractional part of first column zeroed out. </p>