<br><br><div class="gmail_quote">2010/4/17 Maria L. Stavrinou <span dir="ltr"><<a href="mailto:marial.stavrinou@gmail.com">marial.stavrinou@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Zach, <br>You can use unwrap to un-wrap the phase that you calculate. To check if all goes well, try this by having a simple sinusoid as input and check the result, as shown in the image I am attaching. I would recommend, to do the phase difference of the unwraped phase,  in radians of as they are now, between -pi and pi. Using the function mod you can project them into [0, 2pi] interval. <br>

<br>Maria <br><br><div class="gmail_quote">2010/4/15 Zachary Moran <span dir="ltr"><<a href="mailto:zdmoran@gmail.com" target="_blank">zdmoran@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">
Hi Everyone,<br><br>I'm currently investigating the relationship between phase angle and other EEG variables.  In order to get phase angle, I've been taking the angle(ITC) in Matlab which gives me phase angle estimates from -pi to pi radians.  However, when I plot this data against time I find discontinuities at pi and -pi (see attached jpeg for an example), which has become problematic in using it as a predictor variable.  <br>


<br>Does this suggest that the phase information is "wrapped", and, if so, does Matlab's "unwrap(phase_angle_data)" function seem appropriate to anyone else as a means of making my phase angle data better suited as a predictor?  Alternatively, I had initially wanted to constrain phase to between 0 and 2pi radians - does anyone have any advice for how to make this conversion?  Any thoughts or ideas would be very greatly appreciated.<br>


<br>Many thanks!<br><br>Zach<br>
<br></div></div><div class="im">_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></div></blockquote></div><br><br clear="all">
<div><div></div><div class="h5"><br>-- <br>-- <br>
Maria L. Stavrinou<br>MSc. PhD.<br>Postdoc Researcher<br>Unit of Neurophysiology<br>Department of Physiology<br>School of Medicine,<br>University of Patras<br>Greece<br>tel. lab +30 - 2610-969153<br>cellular +30 -6938287930<br>

<a href="http://physiology.med.upatras.gr/NU/" target="_blank">http://physiology.med.upatras.gr/NU/</a><br><br><a href="https://sites.google.com/site/marialstavrinou/" target="_blank">https://sites.google.com/site/marialstavrinou/</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>Maria L. Stavrinou<br>MSc. PhD.<br>Postdoc Researcher<br>Unit of Neurophysiology<br>Department of Physiology<br>School of Medicine,<br>University of Patras<br>
Greece<br>tel. lab +30 - 2610-969153<br>cellular +30 -6938287930<br><a href="http://physiology.med.upatras.gr/NU/">http://physiology.med.upatras.gr/NU/</a><br><br><a href="https://sites.google.com/site/marialstavrinou/">https://sites.google.com/site/marialstavrinou/</a><br>
<br>