[FieldTrip] reading .mat in fieldtrip
Bahareh Elahian (belahian)
belahian at memphis.edu
Thu Aug 11 21:00:52 CEST 2016
Thanks but none of the options works.
The error is :
you should specify at least one configuration option.
Even cfg.demean = 'yes'; is not enough.
________________________________
From: fieldtrip-bounces at science.ru.nl <fieldtrip-bounces at science.ru.nl> on behalf of Antonio Rodriguez <toni.rbaena at gmail.com>
Sent: Thursday, August 11, 2016 1:47:18 PM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] reading .mat in fieldtrip
Hi.
You can create an empty cfg structure, and fill with data :
cfg =[];
newdata = ft_redefinetrial(cfg,data);
El 11 ago. 2016 7:11 p. m., "Bahareh Elahian (belahian)" <belahian at memphis.edu<mailto:belahian at memphis.edu>> escribi?:
Thanks for the answer,
I have had a look on this page before and I tried to follow the steps.
The problem is ;I do not have any cfg to define cfg.trl and use newdata = ft_redefinetrial(cfg,data);
Any other idea?
On Aug 11, 2016, at 11:36 AM, Arjen Stolk <a.stolk8 at gmail.com<mailto:a.stolk8 at gmail.com>> wrote:
Hi Bahareh,
To get you started, see this page:
http://www.fieldtriptoolbox.org/faq/how_can_i_import_my_own_dataformat
It describes what fieldtrip expects your raw data to look like.
Arjen
2016-08-11 8:42 GMT-07:00 Bahareh Elahian (belahian) <belahian at memphis.edu<mailto:belahian at memphis.edu>>:
Hi All,
I have a ".mat" file which contais: <8x10350000 double> and sampling rate.
How should I import this data to field trip? By using [data] = ft_preprocessing( cfg);
I am getting an error that the data should be in the format of raw or raw + comp.
Any idea?
Thanks!
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160811/7aa95b22/attachment-0002.html>
More information about the fieldtrip
mailing list