s="keyword">...</span>
    <span class="string">'Envelope'</span>, <span class="string">'InertiaEllipse'</span>, <span class="keyword">...</span>
    <span class="string">'LegendLocation'</span>, <span class="string">'NorthWest'</span>);

<span class="comment">% Compute the mean of each group</span>
disp(aggregate(tab(:,1:4), tab(<span class="string">'Species'</span>), @mean));
</pre><pre class="codeoutput">                       SepalLength    SepalWidth    PetalLength    PetalWidth
Setosa-mean            