[FieldTrip] Problem with downsampling

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Thu Nov 5 08:52:56 CET 2020


What is the error?

On 5 Nov 2020, at 05:03, hyxer1998 at 163.com<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20201105/fa8dfd0d/attachment.htm>


More information about the fieldtrip mailing list