powered by
Euclidean Distance between two matrices
distance2(x1, x2)
Matrix 1
Matrix 2
# NOT RUN { X<-matrix(1:12,3,4) Y<-matrix(5:16,3,4) distance2(X,Y) # }
Run the code above in your browser using DataLab