resampledata/offset2time

Montez, T. t.montez at VUMC.NL
Fri Nov 5 15:36:43 CET 2004


Hi Robert,

After doing the changes you proposed:

                cfgpre = something
                data = preprocessing(cfgpre);
                cfgdwn = []
                cfgdwn.resamplefs = something
                datadwn = resampledata(cfgdwn, data);

I get the error message:

??? Undefined function or variable 'offset2time'.

Error in ==> E:\Matlab\fieldtrip-0.9.2\resampledata.m
On line 65  ==>   data.time{itr}     = offset2time(data.offset(itr),
data.fsample, size(data.trial{itr},2));

Do I need the offset2time.m ?

Best regards,
Teresa









More information about the fieldtrip mailing list