igure;
hist(tab('PetalLength'));

% plot petal width against petal length
figure;
plot(tab('PetalLength'), tab('PetalWidth'), '*');


%% Management of groups

% scatter plot using groups
figure;
scatterGroup(tab('PetalLength'), tab('PetalWidth'), tab('Species'), ...
    'Envelope', 'InertiaEllipse', ...
    'LegendLocation', 'NorthWest');

% Compute the mean of each group
disp(aggregate(tab(:,1:4), tab('Species'), @mean));


%% Principal Component Analysis

% Apply Principal Component 