% data is loaded in object gsr % this resamples all channels, applying cubic/gaussian resampling % for channel 1 and simple re-indexing for channels 2 through 9 gsr.Resample(100, struct('cubic', [true, false(1, 8)])); % this filters channel 1 into a new channel (10) % all parameters are default, the post-filtering cut-off is set to 0.2s gsr.Filter(1, struct('dest', 10, 'post', 0.2));