<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=IT link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Good evening everyone,</p><p class=MsoNormal> through the fieldtrip toolbox I solved the direct problem using the FEM method for EEG data. The EEG data are in resting state. Now I have to implement the indirect problem but on the tutorial there is no guide. How should I implement fieldtrip sourceanalysis? I have the sourcemodel, headmodel, leadfield and covariance matrix. I calculated the covariance matrix directly in Matlab.  My problem now is to understand how to calculate the average of the EEG data to be given as input to the sourceanalysis. How to calculate an average of resting state data ?</p><p class=MsoNormal>thanks</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Inviato da <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Posta</a> per Windows 10</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>