makemetric
MAKEMETRIC
Correct square dismat for non-metricness
DC = MAKEMETRIC(D)
DC = D*MAKEMETRIC
Input | D | NxN symmetric dissimilarity matrix or dataset |
Output | DC | Dissimilarity matrix/dataset with all entries corrected where the triangle inequality is violatedThis file has been automatically generated. If badly readable, use the help-command in Matlab. |
| |