title: Change variable name on each iteration in for loop MATLAB
body: <p>I have large array <code>P</code> which is changing size and values in each iteration. I need to be able to change the title of my output array to match the given iteration, i.e. for bin 1.4 I would like output to be p1.4 or p14.</p>
  
  <p>Can anyone help?</p>
  
  <pre><code>for bin = 1:0.1:2;
      rows = find(DAT(:,27) &gt; bin);
      p{bin} = DAT(rows,:);
  end
  </code></pre>