[FieldTrip] Problem with downsampling

hyxer1998 at 163.com hyxer1998 at 163.com
Thu Nov 5 05:03:54 CET 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20201105/158d7cfa/attachment.htm>


More information about the fieldtrip mailing list