 Usage:  d = distance (x {, metric})  

 

 Input:



  x                      n x p matrix 

                         

  metric                 string indentifying the metric name 

                         

 Output:



  d                      symmetric n x n matrix of pairwise distances 

                         

--------------------------------------------------------------

(C) MD*TECH Method and Data Technologies, 21.9.2000

