<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Dear Ahmed,</div><div><br></div>To invert the polarity of all components - which as mentioned several times on this list still represents a valid ICA decomposition - on the Matlab command line, type <div><br></div><div><div>ALLEEG.icaweights = -ALLEEG.icaweights;</div></div><div><div>ALLEEG.icawinv = -ALLEEG.icawinv;</div></div><div>ALLEEG.icaact = -ALLEEG.icaact;</div><div><br></div><div>For a whole STUDY, loop on all datasets.</div><div>Then if you want to update the EEGLAB interface</div><div><br></div><div>[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG, CURRENTSET);</div><div>eeglab redraw;</div><div><br></div><div>Arno</div><div><br><div><div>On Oct 13, 2014, at 1:40 PM, Ahmed Almurshedi <<a href="mailto:ahmed19875000@yahoo.com">ahmed19875000@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<div><div style="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 16px;"><div style="" class="">Dear All,</div><div style="" class=""><br style="" class=""></div><div style="font-size: 16px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;" class="">Is there any way to flip the polarity (Peak become trough and<span style="" id="result_box" class="" lang="en"> vice versa</span>) of ERP and components dataset or whole study?<br style="" class=""></div><div style="" class=""> </div><div style="" class="">Thanks<br style="" class=""></div><div style="font-size: 16px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="font-size: 16px; font-family: verdana, helvetica, sans-serif; background-color: transparent; font-style: normal;" class="">AHMED<br style="" class=""></div></div></div>_______________________________________________<br>Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br></div></body></html>