Home > eeg > egis > meg_code > channel_pairs.m

channel_pairs

PURPOSE ^

SYNOPSIS ^

function chpair = channel_pairs(NChan);

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function chpair = channel_pairs(NChan);
0002 
0003 
0004 icount = 1;
0005 for ichan = 1:NChan
0006   for jchan = ichan:NChan
0007     chpair(ichan, jchan) = icount;
0008     chpair(jchan,ichan) = icount;
0009     icount = icount + 1;
0010   end
0011 end

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