[FieldTrip] Resampling error + General question on resampling vs single precision

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Mon Feb 6 16:03:43 CET 2023

Hi Yasir,

for starters, there’s a typoin your cfg: cfg.resamplerefs should read cfg.resamplefs

Best wishes,

On 6 Feb 2023, at 15:22, Yasir Çatal via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Thanks for the answer about resampling vs single precision Jan.

The motivation for using ft_resampledata is not clear to me, neither is it clear how you actually called the function (cfg details etc).

 The only motivation is memory constraints. cfg is like this:

cfg = [];
cfg.resamplerefs = 250; (or other values that I tried that didn't work.).

I tried breakpoints but the error happens at the level of internal MATLAB functions so that didn't get me anywhere.

Thanks and kind regards,
fieldtrip mailing list

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

More information about the fieldtrip mailing list