<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Hannah,<div class=""><br class=""></div><div class="">It is a warning rather than an error. You should be able to plot ‘grandavg_Baseline’ with ft_multiplotER provided you have a layout of your electrode setup.</div><div class="">Also you might want to try ‘grandavg_Baseline = ft_freqgrandaverage(cfg, BGA{:});’. It will tidy your script a bit. </div><div class=""><br class=""></div><div class="">Good luck,</div><div class="">tzvetan</div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 8 Jul 2020, at 01:17, Hannah Anderson <<a href="mailto:handerson@usc.edu.au" class="">handerson@usc.edu.au</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);" class="">Hello, </div><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);" class="">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);" class="">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);" class=""><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class=""><i class="">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;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">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;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">I have included the cfg I have used. </span></div><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 0);" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">cfg                = [];</span><span style="margin: 0px;" class=""><br class=""></span><div style="margin: 0px;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">cfg.parameter      = 'powspctrm';</span><br class=""></div><div style="margin: 0px;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">cfg.keepindividual = 'no';</span><br class=""></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">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 class=""></div><div style="margin: 0px;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">    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 class=""></div><span style="margin: 0px; background-color: rgb(255, 255, 255);" class="">    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 class=""></span></div><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span style="margin: 0px; background-color: rgb(255, 255, 0);" class=""><span style="margin: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></span></div><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">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;" class="">Kind Regards, </div><div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">Hannah </div></div><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><br class=""></div><div id="Signature" class=""><div class=""><div class=""></div><div class=""></div><div class=""></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><font class=""><b class="">Hannah Anderson </b></font></div><font style="font-size: 12pt;" class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""></span></font><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11pt; color: rgb(32, 31, 30); font-family: Calibri, sans-serif;" class="">Research Assistant - Healthy Brain Ageing </div><font style="font-size: 12pt;" class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""></span></font><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11pt; color: rgb(32, 31, 30); font-family: Calibri, sans-serif;" class=""><span style="border-color: currentcolor; color: rgb(33, 33, 33); margin-bottom: 0px; margin-top: 0px;" class="">Sunshine Coast Mind and Neuroscience - Thompson Institute,<span class="Apple-converted-space"> </span></span><span lang="en-US" style="border-color: currentcolor; margin-bottom: 0px; margin-top: 0px;" class="">USC</span></div><font style="font-size: 12pt;" class=""><span style="background-color: rgb(255, 255, 255); display: inline !important;" class=""></span></font><div style="margin-top: 0px; margin-bottom: 0px; font-size: 11pt; color: rgb(32, 31, 30); font-family: Calibri, sans-serif;" class=""><a href="mailto:mparker4@usc.edu.au" target="_blank" rel="noopener noreferrer" style="border-color: currentcolor; margin-bottom: 0px; margin-top: 0px;" class=""><span style="border-color: currentcolor; color: blue; margin-bottom: 0px; margin-top: 0px;" class="">handerson@usc.edu.au</span></a><span style="border-color: currentcolor; margin-bottom: 0px; margin-top: 0px;" class=""><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></span>[<a href="http://usc.edu.au/thompson-institute]usc.edu.au/thompson-institute" class="">usc.edu.au/thompson-institute]</a><span style="border-color: currentcolor; color: blue; margin-bottom: 0px; margin-top: 0px;" class=""><a href="http://usc.edu.au/thompson-institute]usc.edu.au/thompson-institute" class="">usc.edu.au/thompson-institute</a></span></div><span style="font-size: 12pt;" class=""><span id="cid:8e9775ca-8831-4854-9ce8-02c9d84548d0"><Outlook-0pbf1m50.png></span></span><br class=""></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><div style="margin: 0px; color: rgb(32, 31, 30); text-align: start; background-color: rgb(255, 255, 255); font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="margin: 0px; font-size: 10pt; color: rgb(127, 127, 127);" class="">I acknowledge the Traditional Custodians of the lands and waters upon which the University's campuses are located.</span><span style="margin: 0px;" class=""></span></div><div style="margin: 0px; color: rgb(32, 31, 30); text-align: start; background-color: rgb(255, 255, 255); font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="margin: 0px; font-size: 10pt; color: rgb(127, 127, 127);" class="">I acknowledge their continuing connections to country and pay my respects to Elders past, present and emerging.</span><span style="margin: 0px;" class=""></span></div><p style="margin: 0px; color: rgb(32, 31, 30); text-align: start; background-color: rgb(255, 255, 255); font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="margin: 0px;" class=""> </span></p><div style="margin: 0px; color: rgb(32, 31, 30); text-align: start; background-color: rgb(255, 255, 255); font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="margin: 0px; font-size: 10pt; color: rgb(127, 127, 127);" class="">University of the Sunshine Coast  l  CRICOS 01595D</span></div></div></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="https://doi.org/10.1371/journal.pcbi.1002202" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></div></blockquote></div><br class=""></div></body></html>