Agglomerative clusters from data
T = clusterdata(X,cutoff)
T = clusterdata(X,Name,Value)
T = clusterdata(
returns
the cluster indices (X
,cutoff
)T
) for each observation (row)
of the data (X
) while adhering to a threshold for
cutting the hierarchical tree (cutoff
).
clusters
with additional options specified by one or more T
= clusterdata(X
,Name,Value
)Name,Value
pair
arguments.

Matrix with two or more rows. The rows represent observations, the columns represent categories or dimensions. 

When 
Specify optional commaseparated pairs of Name,Value
arguments.
Name
is the argument
name and Value
is the corresponding
value. Name
must appear
inside single quotes (' '
).
You can specify several name and value pair
arguments in any order as Name1,Value1,...,NameN,ValueN
.

Either  

Cutoff for inconsistent or distance measure, a positive scalar.
When  

Depth for computing inconsistent values, a positive integer.  

Any of the distance metric names allowed by
 

Any of the linkage methods allowed by the
For details, see the definitions in the 

Maximum number of clusters to form, a positive integer. 

Either
When Default: 


cluster
 inconsistent
 kmeans
 linkage
 pdist