title: Importing csv file in Matlab
body: <p>I have a csv file where each column is a different test result, and each line is a different simulation. It looks something like this:</p>
  
  <pre><code>                (test 1) (test 2) (test 3) (test 4) (test 5)
  (simulation 1)     3   ,    4   ,    6   ,   7   ,     8
  (simulation 2)     9   ,    4   ,    7   ,   10  ,     7
  </code></pre>
  
  <p>Note that the text in the brackets is not in the cvs file.
  I want to import this data into Matlab the same way its organized in the text file, but the resulted matrix has 3 columns and as many line as needed. </p>
  
  <p>Why is that? How do I fix it?</p>
  
  <p>Also, some of the numbers are imported as NaN, how do I solve it?</p>
  
  <p>Thanks!</p>