Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_preproc_resample”.
FT_PREPROC_RESAMPLE resamples all channels in the data matrix Use as dat = ft_preproc_resample(dat, Fold, Fnew, method) where dat = matrix with the input data (Nchans X Nsamples) Fold = scalar, original sampling frequency in Hz Fnew = scalar, desired sampling frequency in Hz method = string, can be 'resample', 'decimate', 'downsample' The resample method applies an anti-aliasing (lowpass) FIR filter to the data during the resampling process, and compensates for the filter's delay. For the other two methods you should apply an anti-aliassing filter prior to calling this function. See also PREPROC, FT_PREPROC_LOWPASSFILTER
Share this page: