ance</span>
0041 c=<a href="nt_cov.html" class="code" title="function [c,tw]=nt_cov(x,shifts,w);">nt_cov</a>(x,shifts,w);
0042 
0043 <span class="comment">% PCA matrix</span>
0044 [topcs,evs]=<a href="nt_pcarot.html" class="code" title="function [topcs,eigenvalues]=nt_pcarot(cov,nkeep,threshold,N)">nt_pcarot</a>(c,nkeep,threshold);
0045 
0046 <span class="comment">%clf; plot(evs); set(gca,'yscale','log'); pause</span>
0047 
0048 <span class="comment">% apply PCA matrix to time-shifted data</span>
0049 <span