DisTools Contents

DisTools User Guide

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 violated

DisTools Contents

DisTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.