<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">hi anders,<div><br></div><div>we recently encountered a similar problem. let me guess: your data is recorded with a sampling frequency of 512 Hz and you are zero padding them to twice the length, i.e. for example from 512 to 1024 samples. if this is the case there is nothing wrong with your data. the reason why the data look strange is illustrated in the attachment. the recorded samples are depicted by black squares and the underlying function that one would obtain by continuous fourier transformation is shown by the gray trace. when using discrete fourier transformation all samples except the one for the center frequency fall on the zero line and thus are not visible when plotting the non-zero-padded data. when you now zero pad the data to twice its length, the "artificially added" samples will fall exactly between the original samples and thus on the peaks of the side lobes. plotting this in matlab (i.e. directly connecting each sample with a line) will then look like a sawtooth pattern as it was the case in your data. </div><div>to see if this really is the reason, just change the amount of zero padding to a non-integer multiple of the sampling frequency (e.g. from a default of 1024 to 1000) or disable the zero padding completely and check whether your data look better then.</div><div><br></div><div>i hope i could help,</div><div><br></div><div>michael</div><div><br></div><div> <img height="182" width="644" apple-width="yes" apple-height="yes" src="cid:9098424D-47DE-42D5-92BA-8A1019AF1F60"><br><div><div>On Oct 3, 2011, at 3:21 PM, Anders Sand wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div dir="ltr"><div><div dir="ltr">Hi all,<div><br></div><div>when I apply pop_spectopo(): (using the GUI) on any .bdf data I get what looks like aliasing (see <a href="http://www.mypicx.com/10032011/Aliasing/">http://www.mypicx.com/10032011/Aliasing/</a>). I have tried importing the files via the biosignal toolbox and via converting (via polyrex) to .cnt. It looks the same for any .bdf file I open but looks normal for all example data attached with EEGLab. All frequency parameters are default.</div><div><br></div><div>Could somebody help me troubleshoot this problem?</div><div><br></div><div>Thanks</div><div>Anders</div></div></div></div>_______________________________________________<br>Eeglablist page:<span class="Apple-converted-space"> </span><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<span class="Apple-converted-space"> </span><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<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></div></blockquote></div><br></div></body></html>