[Eeglablist] systematically deleting data

Brittany Alperin balperin07 at gmail.com
Fri Oct 31 15:22:46 PDT 2014


I want to cut all of my datasets down to just include the last 600 seconds
and I also want to write some code to automate this.

Is there a way I can find out the length without manually plotting the data
to find out how long the file is? I assume I'll use the select data
function (pop_select), but all I know how to do is put in actual numerical
values. Using this method I would have to plot each dataset, find out the
length, and subtract 600 seconds from that, which is a bit tedious and
wouldn't allow me to automate it.

Basically, is there a Matlab function that will tell me how many seconds
long the file is? Can you enter something other than numbers in the
pop_select window?\

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20141031/2b948a47/attachment.html>

More information about the eeglablist mailing list