Home > eeg > egis > data_utils > chpair_indices.m

chpair_indices

PURPOSE ^

chpair = chpair_indices(nchan);

SYNOPSIS ^

function chpair = chpair_indices(nchan)

DESCRIPTION ^

 chpair = chpair_indices(nchan);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function chpair = chpair_indices(nchan)
0002 % chpair = chpair_indices(nchan);
0003 %
0004 %
0005 
0006 if nargin < 1
0007   nchan = 129;
0008 end
0009 
0010 icount = 1;
0011 for ichan = 1:nchan
0012   for jchan = ichan:nchan
0013     chpair(ichan, jchan) = icount;
0014     chpair(jchan,ichan) = icount;
0015     icount = icount + 1;
0016   end
0017 end

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