matcorr#
- matcorr(first, second, remove_mean=False, method=2, weighting=None)#
Match rows of two matrices by absolute cosine correlation.
Methods are
0(globally optimal Hungarian assignment),1(Vogel approximation), and2(successive maximum correlation). Returned row indices are 1-based. Rectangular inputs returnmin(rows)unique pairs. EEGLAB forces method 2 unless both matrices are square.