Skip to content

Instantly share code, notes, and snippets.

View hieunvce's full-sized avatar

Hieu Nguyen hieunvce

View GitHub Profile
@hieunvce
hieunvce / zeroHH.m
Created May 5, 2018 15:14
Code phần Zero HH LAB5 Matlab
ww=-pi:(pi/500):pi;
bb=1/4*ones(1,4);
HH=freqz(bb,1,ww);
zeroIndex=find(HH<10^-6);
HHzero=HH(zeroIndex);
wwzero=ww(zeroIndex);
subplot(2,1,1);
plot(wwzero,abs(HHzero));
subplot(2,1,2);