Home > eeg > egis > misc_utils > get_all_pairs2.m

get_all_pairs2

PURPOSE ^

SYNOPSIS ^

function pairlist = get_all_pairs2(chans,nchan);

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function pairlist =  get_all_pairs2(chans,nchan);
0002 
0003 chpair = channel_pairs(nchan);
0004 ic = 1;
0005 for i = 1:size(chans,2)-1
0006     for j = i+1:size(chans,2)
0007         pairlist(ic) = chpair(chans(i),chans(j));
0008         ic = ic+1;
0009     end;
0010 end;
0011 
0012

Generated on Wed 20-Sep-2023 04:00:50 by m2html © 2003