<p dir="ltr">Hi.</p>
<p dir="ltr">You can create an empty cfg structure, and fill with data :</p>
<p dir="ltr">cfg =[];<br>
newdata = ft_redefinetrial(cfg,data);</p>
<div class="gmail_extra"><br><div class="gmail_quote">El 11 ago. 2016 7:11 p. m., "Bahareh Elahian (belahian)" <<a href="mailto:belahian@memphis.edu">belahian@memphis.edu</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>
<div style="direction:ltr">Thanks for the answer,</div>
<div style="direction:ltr"> </div>
<div style="direction:ltr">I have had a look on this page before and I tried to follow the steps.</div>
<div style="direction:ltr">The problem is ;I do not have any cfg to define cfg.trl and use <span style="text-align:justify;background-color:rgba(255,255,255,0)">newdata = ft_redefinetrial(cfg,data);</span></div>
<div style="direction:ltr"><span style="text-align:justify;background-color:rgba(255,255,255,0)"><br>
</span></div>
<div style="text-align:justify;direction:ltr">Any other idea?</div>
<br>
<br>
</div>
<div><br>
On Aug 11, 2016, at 11:36 AM, Arjen Stolk <<a href="mailto:a.stolk8@gmail.com" target="_blank">a.stolk8@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi Bahareh,
<div><br>
</div>
<div>To get you started, see this page:</div>
<div><a href="http://www.fieldtriptoolbox.org/faq/how_can_i_import_my_own_dataformat" target="_blank">http://www.fieldtriptoolbox.<wbr>org/faq/how_can_i_import_my_<wbr>own_dataformat</a><br>
</div>
<div><br>
</div>
<div>It describes what fieldtrip expects your raw data to look like.</div>
<div><br>
</div>
<div>Arjen</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-08-11 8:42 GMT-07:00 Bahareh Elahian (belahian) <span dir="ltr">
<<a href="mailto:belahian@memphis.edu" target="_blank">belahian@memphis.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have a “.mat” file which contais: <span style="color:black;background:white">
<8x10350000 double> and sampling rate.<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="color:black;background:white">How should I import this data to field trip? By using
</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">[data] = ft_preprocessing( cfg);</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black;background:white"> I am getting an error that the data should be in the format of raw or raw + comp. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black;background:white"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:black;background:white">Any idea?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black;background:white"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:black;background:white">Thanks!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black;background:white"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>______________________________<wbr>_________________</span><br>
<span>fieldtrip mailing list</span><br>
<span><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a></span><br>
<span><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a></span></div>
</blockquote>
</div>
<br>______________________________<wbr>_________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a><br></blockquote></div></div>