Analog (passive) Bandstop Filter in MATLAB

Code:
w=0:0.01:500;
G=(1-(w.^2))./(1-(w.^2)+j*w);
semilogx(w,abs(G));
grid on;


No comments