[FieldTrip] Problem with downsampling
hyxer1998 at 163.com
hyxer1998 at 163.com
Thu Nov 5 13:07:03 CET 2020
Sorry, I forgot to describe the specific error. It said when I called the function ‘resample’, the parameters were not enough or type was wrong. And the error happened in ft_resampledata.m line 230, i.e. Error in ft_resampledata (line 230) newdat = transpose(resample(transpose(olddat),fsres,fsorig));
But, I used the exactly same dataset and code in the tutorial, so I don’t get where mistook.
> 在 2020年11月5日,17:13,Schoffelen, J.M. (Jan Mathijs) <jan.schoffelen at donders.ru.nl> 写道:
> What is the error?
>
>> On 5 Nov 2020, at 05:03, hyxer1998 at 163.com wrote:
>>
>> Dear FieldTrip Community,
>>
>> My name is Yuxin He. I’m learning how to use ICA to reject EOG artifacts from this tutorial https://www.fieldtriptoolbox.org/example/use_independent_component_analysis_ica_to_remove_eog_artifacts/.
>> However, when I ran the part code of downsampling in this tutorial, there was an error
>>
>> Error in ft_resampledata (line 230)
>> newdat = transpose(resample(transpose(olddat),fsres,fsorig));
>>
>> I don’t know how to deal with and hope anyone can help me with this trivial problem.
>>
>> Thank you very much.
>>
>> Yuxin He
>> _______________________________________________
>> fieldtrip mailing list
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>> https://doi.org/10.1371/journal.pcbi.1002202
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20201105/4efe5857/attachment.htm>
More information about the fieldtrip
mailing list