Thank you for your help,Dear Vladimir,We usually used low or highpass butterworth filters and it works well! Here we would like to use a bandpass [0.5 40 Hz] filtering but we can't find the right syntax..
here is what we have done :
S = [];
S.D = [prefix file '.mat'];
prefix = ['f' prefix]
S.outfile = [prefix file '.mat'];
S.filter.type = 'butterworth';
S.filter.band = 'bandpass';
S.filter.PHz = [0.5 40]; %%problem!
S.filter.dir = 'twopass';
S.filter.order = 5;
D = spm_eeg_filter(S);Could you help us?
Best wishes,
Charline