X = [
6	19	1	110	0
3	23	0	100	25
2	26	0	110	25
6	21	0	110	25
2	25	0	110	25
3	28	1	120	25
2	24	0	110	100
3	23	1	110	25
3	23	1	110	100
1	13	0	50	0
1	26	0	110	25
2	25	0	110	25];

Y = pdist(X);
Z = linkage(Y);
dendrogram(Z);
c = cophenet(Z, Y)


[[1:12]', cluster(Z, 6)]
cluster(Z, 6)