<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;"><div>Hi all, <br>I want to test if some component that I observe in the average of my ERP signal are phase locked to the stimulus.<br>In oder to do so I compare<br>1. TFR_averaged_signal =  ft_freqanalysis(cfg, averaged_signal)<br>2.  TFR_singletrials_signal =  ft_freqanalysis(cfg, singletrials_signal)<br><br>with the first structure TFR_averaged_signal everything is fine, and I get my nice TF plot.<br>with the second I should average through "trials". Is there a function for that? Or, is it correct to proceed plotting<br>  the average of  TFR_singletrials_signal.powspctrm through the "trials-matrix dimension"?<br><br>Thanks<br>Tommaso<br><br></div>
</div></body></html>