calculates the distances between vectors.
[DistanceMatrix] = CreateDistanceMatrix(Source, Destination, NormType)
matrix
matrix
norm of vectors, must be a scalar greater than zeros, can be %inf
matrix that contains the distances between the vectors of Source (rows) and Destination (columns)
This function calculates the distances between the rows of Source and the rows of Destination.The result is a matrix. The rows correspond to the to the vectors of Source. The columns correspond to the vectors of Destination.
Richard O. Duda, Peter E. Hart, David G. Stork, 'Pattern Classification', John Wiley & Sons Inc., New York, Chichester, Weinheim, Brisbane, Singapore, Toronto, Second Edition, 2001