[исходные числа] >>> [разбитые по группам числа]
[1,2,3] >>> [1][2][3]
[1,2,3,4,5,6] >>> [1,2][3,4][5,6]
[10,30,60,90,150] >>> [10,30][60,90][150]
[10,30,30,35] >>> [10][30,30][35]
[1,50,250,350] >>> [1][50][250,350]
[1,2,3,500,550,650,650] >>> [1,2,3][500,550][650,650]
PD = pdist(Data); % (Data,'cityblock');
Z = linkage(PD,'average'); % (PD);
dendrogram(Z)
c = cophenet(Z,PD)
%I = inconsistent(Z);
T = cluster(Z,'cutoff',cut);
% или T = cluster(Z,'maxclust',nClust);