This zip file contains Matlab package with functions that calculate and display cross-trial correlation of evoked potentials as presented in the paper "Cross-trial correlation analysis of evoked potentials reveals arousal related-attenuation of thalamo-cortical coupling" published in the Journal of Computational Neuroscience.
To use, copy the M-files contained in the package to a separate directory (do not name it "CTC" or "ctc" to avoid conflict), add it to the top of your Matlab(R) path, and run the function CTC, supplying arguments as instructed in the function's help documentation. Other functions in the package are invoked directly by CTC.
 A. Sobolewski, E. Kublik, D.A. Swiejkowski, S. Leski, J.K.
Kaminski, A. Wrobel, 2010, "Cross-trial correlation analysis of evoked
potentials reveals arousal related-attenuation of thalamo-cortical
coupling", Journal of Computational Neuroscience, 29(3):485-493;
doi:10.1007/s10827-010-0220-0, on line , abstract.