D = DISTMAT(X,Y) for matrices X and Y returns the distance matrix where the (i,j)th entry is the d-norm distance between the ith and jth row of X and Y respectively.
DISTMAT(X,Y,d) computes a specific d-norm distance. Default=2
[D,XI,YI]=DISTMAT(X,Y,d,var) gives the indices of the sorted values of matrix D depending on var ('ascend' or 'descend') in relation to both X and Y.
X=[5 1; 8 1; 1 9];
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.