Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

Digital Low pass Filter in MATLAB | Part 1


%Code:-

w=-pi:0.01:pi;
num=[1];
den=[1 -0.5];
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

Popular Posts