<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:8pt"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><br>> Dear all,<br>> I am trying to perform a TF analysis with my new fresh FieldTrip<br>> toolbox,<br>> version "fieldtrip-20090823". I attached a mat file with data and and<br>> results, and I am going to expalin breigly my problems:<br>><br>> 1. I have built my dataset as suggested in the documentation<br>> (<a href="http://fieldtrip.fcdonders.nl/faq/" target="_blank">http://fieldtrip.fcdonders.nl/faq/</a><br>> how_can_i_import_my_own_dataformat):<br>><br>><br>> data.label   % cell-array containing strings, Nchan X 1<br>> data.fsample % sampling frequency in Hz, single number<br>> data.trial   % cell-array
 containing a data matrix for each trial (1 X<br>> Ntrial), each data matrix is Nchan X Nsamples<br>> data.time    % cell-array containing a time axis for each trial (1 X<br>> Ntrial), each time axis is a 1 X Nsamples vector<br>><br>><br>><br>> 2. I executed the following script copied and modified from<br>> <a href="http://fieldtrip.fcdonders.nl/tutorial/timefrequencyanalysis" target="_blank">http://fieldtrip.fcdonders.nl/tutorial/timefrequencyanalysis</a><br>> as follows:<br>><br>> %% Fixed wondow length<br>> cfg              = [];<br>> cfg.output       = 'pow';<br>> cfg.channel      = 'MEG';<br>> cfg.method       = 'mtmconvol';<br>> cfg.taper        = 'hanning';<br>> cfg.foi          = 100:100:1000;                   
      % analysis<br>> 2 to<br>> 30 Hz in steps of 2 Hz<br>> cfg.t_ftimwin    = ones(length(cfg.foi),1).*0.01;   % length of time<br>> window = 0.5 sec<br>> cfg.toi          = -0.01:0.01:0.08;                         % time<br>> window<br>> "slides" from -0.5 to 1.5 sec in steps of 0.05 sec (50 ms)<br>> TFRhann = freqanalysis(cfg, data);<br>><br>> but as you can see from the data file attached I get and empty<br>> powerspectrum matrix.<br>><br>> Do you have any suggestion for me?<br>><br>> Thanks<br>><br>> Tommaso Fedele<br>><br>><br>><br>>> Thank you for your interest in the FieldTrip toolbox.<br>>><br>>> You can download it from the F.C. Donders public FTP server<br>>> (ftp.fcdonders.nl) at <a href="ftp://ftp.fcdonders.nl/pub/fieldtrip/"
 target="_blank">ftp://ftp.fcdonders.nl/pub/fieldtrip/</a><br>>> You can login with username 'anonymous' and use your email address as<br>>> password.<br>>><br>>> There is an FIELDTRIP email discussion list on which people can post<br>>> their questions and messages regarding the use of FieldTrip. New<br>>> releases and updates will also be announced through that list.<br>>><br>>> If you do not want to participate on the discussion list, but still<br>>> want to be informed about updates, you can join the FIELDTRIP-NEWS<br>>> list. That is a very low volume list to which only the fieldtrip<br>>> maintainers can make posts.<br>>><br>>> For subscribing to the FIELDTRIP discussion list, click here<br>>> <a href="http://nic.surfnet.nl/scripts/wa.exe?SUBED1=fieldtrip&A=1"
 target="_blank">http://nic.surfnet.nl/scripts/wa.exe?SUBED1=fieldtrip&A=1</a><br>>><br>>> For subscribing to the FIELDTRIP-NEWS announcement list, click here<br>>> <a href="http://nic.surfnet.nl/scripts/wa.exe?SUBED1=fieldtrip-news&A=1" target="_blank">http://nic.surfnet.nl/scripts/wa.exe?SUBED1=fieldtrip-news&A=1</a><br>>><br>>><br>> <data_tommaso.mat><br><br></div></div></div><br>



      </body></html>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>