PE_DISTM Square PseudoEuclidean (PE) Distance Between Two Datasets
D = PE_DISTM(A,B)
Description Computation of the square pseudoEuclidean distance matrix D between two sets of vectors, A and B. The pseudoEuclidean distance with the signature SIG (e.g. SIG = [10 5]) between vectors X and Y is computed as an indefinite 'Euclidean' distance
In a PE dataset the signature is stored in the user field, see SETSIG. This signature is derived from A. It is not stored in D as D does not contain vectors in a PE space. D is a dataset with the labels defined by the labels of A and feature labels defined by the labels of B. REMARKS Note that square pseudoEuclidean distances can be negative. Zero distances can be negative due to small computational inaccuracies. The call D = PE_DISTM(A) See also
