Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_preproc_online_downsample_apply”.

  function [DM, xd] = ft_preproc_online_downsample_apply(DM, x)
 
  Passes signal x (channels times samples) through the downsampler.
  Returns updated downsample model (numSkip!) and downsampled signal.