Expert Answer:
:
Just as a starting point of help you can refer this:
% Assuming 'eegData' is your EEG data and 'Fs' is the sampling frequency
eegData = ...;
Fs = ...;
% Design a bandpass filter that passes frequencies between 0 and 20 Hz
d = designfilt('bandpassiir', 'FilterOrder', 20, ...
'HalfPowerFrequency1', 0, 'HalfPowerFrequency2', 20, ...
'SampleRate', Fs);
% Apply the filter to the EEG data
filteredEegData = filtfilt(d, eegData);