I want the dendrogram of this data:
tt = 1.0e+03 *
Columns 1 through 5
3.8334 3.9707 3.8887 2.1713 2.5616
Columns 6 through 7
2.3764 2.4533
I use the code in matlab:
tree = linkage(tt,'average');
figure()
dendrogram(tree)
but it gives this error:
Error using linkage (line 137)
The first input does not appear to be a distance matrix because its size is not compatible with the output of the PDIST function. A data matrix input must have more than one row.
What's the problem
and i want the out put to be intervals.is the dendrogram output intervals?
ttto make a column vector:tt'- marsei