title: How to make pivot tables in matlab from a table
body: <p>Is there an easy way to make pivot tables in matlab from a matlab <code>table</code>? 
  As in as Excel, or <code>pandas.pivot_table</code> in Python? I've found <a href="http://www.mathworks.com/matlabcentral/fileexchange/30547-pivottable/content/pivottable.m" rel="noreferrer">pivottable.m</a> on the file exchange, but it doesn't work with <code>tables</code>.</p>
  
  <p>Here is an example, if I have a table <code>t</code>:</p>
  
  <pre><code>name     value
  _____    _____
  
  'Foo'     0   
  'Bar'    -1   
  'Bar'     5   
  'Foo'     1   
  </code></pre>
  
  <p>And I would like to aggregate on the <code>name</code> column, using the <code>@sum</code> function, to get: </p>
  
  <pre><code>name     sum_of_value
  _____    ________
  
  'Bar'    4       
  'Foo'    1   
  </code></pre>
  
  <p>Is there easy way to do this?</p>