MATLAB: Statistical differences between signals

statistical tests

Hi,
I have measured brain responses of 15 subjects during three different tasks. I would like to find the time intervals where there are statistically significant differences between the mean amplitudes of the three signals measured during different tasks. I wonder if there is some easy way to do this with Matlab? I have planned to calculate the mean amplitudes of the signals for each subject over a segment so that I will have a matrix of size 15*3 (subjects*tasks). Then I would need to find if there are statistically significant differences between the columns. To find interesting time intervals, this would need to be repeated for each segment.
Thanks already in advance!
Regards, Maria

Best Answer

If you have the Signal Processing Toolbox (you definitely need it if you’re studying EEG), use the findpeaks function to find the peak values and their locations.
I don’t completely understand your study design, but to do multiple comparisons, use the Statistics Toolbox (another absolute necessity) multcompare function.