0009 <span class="comment">% Nsp : pass the number of spikes in each channel if finite size corrections are desired</span>
0010 <span class="comment">%</span>
0011 <span class="comment">% Outputs:</span>
0012 <span class="comment">%</span>
0013 <span class="comment">% C   : coherence</span>
0014 <span class="comment">% phi : phase of coherency</span>
0015 <span class="comment">% S12 : cross spectral matrix</span>
0016 <span class="comment">% confC : confidence level for coherency - only for err(1)&gt