DisTools Contents

DisTools User Guide

makesym

MAKESYM

Make a dissimilarity matrix symmetric

    [B,C] = MAKESYM(A,PROC)
    [B,C] = A*MAKESYM(PROC)

Input
 A Square dataset or matrix
 PROC String with procedure: 'average' (default), 'min', 'max',  'lower' (use lower triangle part) or 'upper' (user upper part).

Output
 B Symmetric dataset or matrix computed as (A+A')/2
 C Asymmetric remaining part, dataset or matrix computed as (A-A')/2

Description

B is a symmetric matrix obtained combining A and A' by PROC.

See also

datasets, issym, issquare,

DisTools Contents

DisTools User Guide

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