You gave enough information for the Signal Processing Toolbox (with a bit of help from me) to be able to design your filter:
Fs = 8000;
Fn = Fs/2;
Fco = 20;
Fsb = 30;
Rp = 1;
Rs = 10;
[n,Wn] = buttord(Fco/Fn, Fsb/Fn, Rp, Rs);
[b,a] = butter(n,Wn);
[sos,g] = tf2sos(b,a);
figure(1)
freqz(sos, 2048, Fs)
Then use the filtfilt function to filter your signal.
I chose a Butterworth design, but if you want a steeper cutoff, consider using a Chebychev design instead. You may want to experiment with the design to get the exact result you want with respect to your signal. See the relevant documentation for details.
Best Answer