function [] = datenbeschreibung()
% Anzahl der AG's pro Jahr
% 1-te Spalte Jahre
% 2-te Spalte Anzahl der AG's
daten = [1992 10 ; 1993 20 ; 1994 30 ; 1995 40 ; 1996 50 ; 1997 60 ];
j = 1;
for i = 1:2:6
% Definiere y als eine Zelle mit 'cell' und verwende gschweifte
% Klammern
y{j,1} = strcat(num2str(daten(i,1)),'-',num2str(daten(i+1,1)));
y{j,2} = min(daten(i,2),daten(i+1,2));
y{j,3} = max(daten(i,2),daten(i+1,2));
j = j+1;
end;
t = tabelle(y);
-----------------------------------------------------------------------------------------------------
function [t] = tabelle (dat)
f = figure('Position', [200 200 400 150]);
% dat = rand(3);
cnames = {'Zeitraum','min AGs','max AGs'};
rnames = {'First','Second','Third'};
t = uitable('Parent',f,'Data',dat,'ColumnName',cnames,...
'RowName',rnames,'Position',[20 20 360 100]);