title: Unbalanced Anova in Matlab
body: <p>I'm kind of new to Matlab and I am not quite sure how this is done.</p>
  
  <p>Given an unbalanced dataset like so:</p>
  
  <pre><code>g1   g2   g3
  ____________
  3    4    2
  2    1    6
  6    3    1
  5    6
       9
  </code></pre>
  
  <p>How would you perform an ANOVA on this dataset? It is currently saved as three arrays. </p>
  
  <p><code>anova1(SomeDataset)</code> works fine if all the columns are the same length, but Matlab doesn't like concatenating arrays of different lengths. Do I need to use a different data structure? Thanks!</p>