<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Brian,<br>
<blockquote
 cite="mid6.1.2.0.2.20060918105745.01a7a2d0@email.med.yale.edu"
 type="cite"><font face="Courier New, Courier">tmpX =
fft(tmpX,g.padratio*g.winsize);<br>
  <br>
I am wondering, does the padratio actually increase the size of the fft
window?  The comments from<br>
  <br>
>>help fft<br>
  <br>
imply that the second argument in fft(x,<b>n</b>) is the window
size.  This would mean that the FFT window used by timef is not
actually equal to the winsize, but the winsize*padratio.  That can
be a big difference, depending on how large the padratio.  Is that
actually true?  If so, why does the command line spit out
"results are oversampled N times" where N = padratio?  Are
the results actually oversampled or is the FFT window size just that
much
larger?  I understand that the larger the padratio, the more
frequency output bins returned (and the smaller these are), but if the
padratio does not just make the fft window larger, what is it doing and
why would it not always be set to 1?<br>
  </font></blockquote>
tmpX is the data itself and has a size equal to g.winsize. This is what
we call the window size. The g.padratio factor only multiply this
window size (0 padding) to artificially increase the frequency
resolution. I agree that the documentation is not totally clear and we
will make it clearer.<br>
<br>
Hope this helps,<br>
<br>
Arno<br>
<br>
<blockquote
 cite="mid6.1.2.0.2.20060918105745.01a7a2d0@email.med.yale.edu"
 type="cite"><font face="Courier New, Courier">thanks,<br>
Brian</font><br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
eeglablist mailing list <a class="moz-txt-link-abbreviated" href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>
Eeglablist page: <a class="moz-txt-link-freetext" href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a>
To unsubscribe, send an empty email to <a class="moz-txt-link-abbreviated" href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a></pre>
</blockquote>
<br>
</body>
</html>