title: Matlab array storing through loop
body: <p>I have a for loop and each value <code>a{i} b{i} c{i}</code> is equal each time with a specific number. So I was wondering how can I put all those value in an array through loop. The way that I am using I mean this one <code>[a{i};b{i};c{i}]</code> it seems that it doesn't work! If I keep 2 out of three values is working but I want the data from all of the values (<code>a b c</code>)  </p>
  
  <p>You can see the (pseudo)code below:</p>
  
  <pre><code>for i=1:number of cells
     Cell{i}.Tri=[a{i};b{i};c{i}]
  end
  </code></pre>