<div dir="ltr">Hi all,<br><br>I have problems with data extraction from single epochs, for which I'll probably need an algorithm. Specifically, within each epoch, from 300 to 800 ms I need to get the maximum positive 100 ms segment average amplitude, and then from the midpoint of this segment to 1300 ms, the maximum negative 100 ms segment average.<br>
<br>The closest thing I could find is a "meanepoch.m" script which gets mean values between given latencies from single epochs - but it cannot search for maximum mean values (i.e. segment  averages)..<br><br>I would be very grateful for any suggestions.<br>
<br>Regards,<br>Gaspar<br><br>/Institute of Psychology, University of Szeged/</div>