<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head><body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
Hello, </div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
I am calculating the freq grand average for all baseline data which has been through preprocessing and FFT, with some channels being interpolated during the cleaning of the data. </div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255)">
However, I keep getting the error; </div>
<div style="margin: 0px; font-size: 15px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; color: rgb(32, 31, 30); background-color: rgb(255, 255, 255)">
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
<span style="margin: 0px; background-color: rgb(255, 255, 255)"><i>Warning: discarding electrode information because it cannot be averaged </i></span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
<span style="margin: 0px; background-color: rgb(255, 255, 255)">My data are stored in individual structs [label, freq, dimord, powspctrm, cfg] in the cell array BGA </span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
<span style="margin: 0px; background-color: rgb(255, 255, 255)">I have included the cfg I have used. </span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
<span style="margin: 0px; background-color: rgb(255, 255, 255)"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
<span style="margin: 0px; background-color: rgb(255, 255, 0)"><span style="margin: 0px; background-color: rgb(255, 255, 255)">cfg                = [];</span><span style="margin: 0px"><br>
</span>
<div style="margin: 0px"><span style="margin: 0px; background-color: rgb(255, 255, 255)">cfg.parameter      = 'powspctrm';</span><br>
</div>
<div style="margin: 0px"><span style="margin: 0px; background-color: rgb(255, 255, 255)">cfg.keepindividual = 'no';</span><br>
</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px"><span style="margin: 0px; background-color: rgb(255, 255, 255)">grandavg_Baseline  = ft_freqgrandaverage(cfg, BGA{1, 1}, BGA{2, 1}, BGA{3, 1}, BGA{4, 1}, BGA{5, 1}, BGA{6, 1}, BGA{7, 1}, BGA{8, 1}, BGA{9, 1}, BGA{10, 1}, BGA{11, 1},
 BGA{12, 1},...</span><br>
</div>
<div style="margin: 0px"><span style="margin: 0px; background-color: rgb(255, 255, 255)">    BGA{13, 1}, BGA{14, 1}, BGA{15, 1}, BGA{16, 1}, BGA{17, 1}, BGA{18, 1}, BGA{19, 1}, BGA{20, 1}, BGA{21, 1}, BGA{22, 1}, BGA{23, 1}, BGA{24, 1}, BGA{25, 1},...</span><br>
</div>
<span style="margin: 0px; background-color: rgb(255, 255, 255)">    BGA{26, 1}, BGA{27, 1}, BGA{28, 1}, BGA{29, 1}, BGA{30, 1}, BGA{31, 1}, BGA{32, 1}, BGA{33, 1});</span><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
<span style="margin: 0px; background-color: rgb(255, 255, 0)"><span style="margin: 0px; background-color: rgb(255, 255, 255)"><br>
</span></span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
If I could have some assistance as to why I am getting this error it would be much appreciated!</div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
Kind Regards, </div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; color: rgb(0, 0, 0)">
Hannah </div>
</div>
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div></div>
<div></div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="font-size:11pt; font-family:Calibri,sans-serif; margin-bottom:0px; margin-top:0px">
<font color="#000000"><b>Hannah Anderson </b></font></p>
<font color="#000000" style="font-size:12pt"><span style="display:inline!important; background-color:rgb(255,255,255); font-size-adjust:none"></span></font>
<p style="font-size:11pt; color:rgb(32,31,30); font-family:Calibri,sans-serif; margin-bottom:0px; margin-top:0px">
Research Assistant - Healthy Brain Ageing </p>
<font color="#000000" style="font-size:12pt"><span style="display:inline!important; background-color:rgb(255,255,255); font-size-adjust:none"></span></font>
<p style="font-size:11pt; color:rgb(32,31,30); font-family:Calibri,sans-serif; margin-bottom:0px; margin-top:0px">
<span style="border-bottom-color:currentColor; border-left-color:currentColor; border-right-color:currentColor; border-top-color:currentColor; color:rgb(33,33,33); font-size-adjust:none; margin-bottom:0px; margin-top:0px">Sunshine Coast Mind and Neuroscience
 - Thompson Institute, </span><span lang="en-US" style="border-bottom-color:currentColor; border-left-color:currentColor; border-right-color:currentColor; border-top-color:currentColor; color:black; font-size-adjust:none; margin-bottom:0px; margin-top:0px">USC</span></p>
<font color="#000000" style="font-size:12pt"><span style="display:inline!important; background-color:rgb(255,255,255); font-size-adjust:none"></span></font>
<p style="font-size:11pt; color:rgb(32,31,30); font-family:Calibri,sans-serif; margin-bottom:0px; margin-top:0px">
<a href="mailto:mparker4@usc.edu.au" target="_blank" rel="noopener noreferrer" style="border-bottom-color:currentColor; border-left-color:currentColor; border-right-color:currentColor; border-top-color:currentColor; font-size-adjust:none; margin-bottom:0px; margin-top:0px"><span style="border-bottom-color:currentColor; border-left-color:currentColor; border-right-color:currentColor; border-top-color:currentColor; color:blue; font-size-adjust:none; margin-bottom:0px; margin-top:0px">handerson@usc.edu.au</span></a><span style="border-bottom-color:currentColor; border-left-color:currentColor; border-right-color:currentColor; border-top-color:currentColor; color:black; font-size-adjust:none; margin-bottom:0px; margin-top:0px">
 | </span>[usc.edu.au/thompson-institute]<span style="border-bottom-color:currentColor; border-left-color:currentColor; border-right-color:currentColor; border-top-color:currentColor; color:blue; font-size-adjust:none; margin-bottom:0px; margin-top:0px">usc.edu.au/thompson-institute</span></p>
<span style="font-size:12pt"><img class="EmojiInsert" style="max-width:100%" data-outlook-trace="F:1|T:1" src="cid:8e9775ca-8831-4854-9ce8-02c9d84548d0"></span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt">
<p style="color:rgb(32,31,30); text-align:start; background-color:rgb(255,255,255); font-size:11pt; font-family:Calibri,sans-serif; margin:0px">
<span style="margin:0px; font-size:10pt; color:rgb(127,127,127)">I acknowledge the Traditional Custodians of the lands and waters upon which the University's campuses are located.</span><span style="margin:0px; color:black"></span></p>
<p style="color:rgb(32,31,30); text-align:start; background-color:rgb(255,255,255); font-size:11pt; font-family:Calibri,sans-serif; margin:0px">
<span style="margin:0px; font-size:10pt; color:rgb(127,127,127)">I acknowledge their continuing connections to country and pay my respects to Elders past, present and emerging.</span><span style="margin:0px; color:black"></span></p>
<p style="color:rgb(32,31,30); text-align:start; background-color:rgb(255,255,255); font-size:11pt; font-family:Calibri,sans-serif; margin:0px">
<span style="margin:0px; color:black"> </span></p>
<p style="color:rgb(32,31,30); text-align:start; background-color:rgb(255,255,255); font-size:11pt; font-family:Calibri,sans-serif; margin:0px">
<span style="margin:0px; font-size:10pt; color:rgb(127,127,127)">University of the Sunshine Coast  l  CRICOS 01595D</span></p>
</div>
</div>
</div>
</div>


</body></html>