title: parse text file in MATLAB
body: <p>How can I parse file in MATLAB? The data in the text has this format:</p>
  
  <pre><code>p
  15.01245  20.478
  12.589  58.256
  n
  16.589  87.268
  52.367  46.256
  2.589  58.02
  </code></pre>
  
  <p>I want to store each data in <strong><em>separate array</em></strong> (<em>i.e</em>; store data under letter p in array 1, and data under letter n in array 2).</p>
  
  <p>any help?</p>