"comment">% noise</span>
0025 NNOISE=9;
0026 noise=randn(nsamples,NNOISE,ntrials);
0027 noise=nt_mmat(noise,randn(NNOISE,nchans));
0028 noise=nt_normcol(noise);
0029 
0030 <span class="comment">% data</span>
0031 SNR=0.0001;
0032 x=noise+ SNR * nt_mmat(target,randn(1,nchans)) ;
0033 x=nt_demean(x);
0034 x=nt_normcol(x);
0035 
0036 
0037 <span class="comment">%{</span>
0038 We append a DC channel (non-zero constant value) and then we form all
0039 cross-products of channels two-by-two.  Appending a DC channe