Usage of Savitzky-Golay filter in preprocessing of EEG wave #486

Brainewbee (2022-01-27 10:08) · 167 view(s)

I am planning to do preprocess EEG vave using Savitzky-Golay filter, but I am not quite sure about how to use it.

I wonder if you could give me some advice about ... How did the window size (or so-called framelen) and order of polynomial were selected, is there a certain criteria?

The way i am doing now is using a MATLAB function called sgolayfilt

%% data = sgolayfilt(data,2,25);