<div dir="ltr"><div>Hi Mohd, <br><br>Additionally, for better spectral properties (e.g., reduced variance), you might consider using a method other than just the fft. For example, Welch's modifed periodogram (doc pwelch, if you have the signal processing toolbox), also implemented in EEGLAB's spectopo() routine (which can return average spectrum across trials as well). <br>
<br>spectopo usage:<br><br></div><i>data :  </i> [num_samples x num_channels x num_trials] data matrix<br><div><i>frames :   </i>the number of samples per epoch (size(data,1))<br><i>srate : </i>the sampling rate<br><i>nfft :   </i>the fft length (frequency resolution will be sampling_rate / nfft)<br>
<i>freqrange</i> :  a 2-element vector of the frequency range to plot (assuming 'plot','on')<br><i>doplot : </i>(= 'on' | 'off') whether to plot the spectum for all chans in dB<br><br>[Pxx F]  = spectopo(data, frames, srate,'nfft',nfft,'freqrange', freqrange,'plot',doplot);<br>
<br>type 'doc spectopo' for more parameters and options. <br><br>ciao,<br>Tim<br><br><div class="gmail_quote">2008/8/30 Mohd Naz <span dir="ltr"><<a href="mailto:starz_naz@yahoo.com">starz_naz@yahoo.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;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
if i want to know frequency content in eeg signal recorded for 30 minutes, could i make use FFT?<br></td></tr></tbody></table><div class="WgoR0d"><br>
      <hr size="1"> Yahoo! Toolbar kini dikuasa dengan Search Assist. <a href="http://mys.rd.yahoo.com/search/toolbar/mail/signature/*http://malaysia.toolbar.yahoo.com/" target="_blank"> Muat turunnya sekarang.</a></div>
<br>_______________________________________________<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">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><br></blockquote></div><br><br clear="all"><br>-- <br>--------- αντίληψη -----------<br>

</div></div>