Digital Integrator as low pass filter | Frequency Response of Digital Integrator


%Code:-

w=-pi:0.01:pi;
num=[1];
den=[1 -1];
h=freqz(num,den,w);
subplot(2,1,1);
plot(w,abs(h));
ylabel('Magnitude');
subplot(2,1,2);
plot(w,angle(h));
ylabel('Phase');


No comments