I have absolutely no idea what ‘2.01’, ‘2.02’ and ‘2.03’mean.
Here is a prototype bandstop filter design that you can change to produce the filter you want:
Fs = 900;
Fn = Fs/2;
Wp = [48 52]/Fn;
Ws = [0.9 1.1].*Wp;
Rp = 1;
Rs = 90;
[n,Wp] = ellipord(Wp,Ws,Rp,Rs);
[z,p,k] = ellip(n,Rp,Rs,Wp,'stop');
[sos,g] = zp2sos(z,p,k);
figure
freqz(sos, 2^18, Fs)
set(subplot(2,1,1), 'XLim',[0 Fs/5])
set(subplot(2,1,2), 'XLim',[0 Fs/5])
Un-comment the filtfilt line to filter your signal.
Best Answer