a = 1;
b1 = [1 -1];
zplane(b1,a);
fvtool(b1,a);
LinPhase1 = islinphase(b1,a) %Check if linear phase
%Notch comb filter
b2 = [1 0 -1];
zplane(b2,a);
fvtool(b2,a);
LinPhase2 = islinphase(b2,a) %Check if linear phase
%Notch comb filter
b3 = [1 0 0 -1];
zplane(b3,a);
fvtool(b3,a);
LinPhase3 = islinphase(b3,a) %Check if linear phase
%Notch comb filter
b4 = [1 0 0 0 -1];
zplane(b4,a);
fvtool(b4,a);
%Notch comb filter
b5 = [1 0 0 0 0 -1];
zplane(b5,a);
fvtool(b5,a);
LinPhase5 = islinphase(b5,a) %Check if linear phase
LinPhase1 =
logical
1
LinPhase2 =
logical
1
LinPhase3 =
logical
1
LinPhase5 =
logical
1
b1 = [1 -1];
b3 = [1 0 0 -1];
b4 = [1 0 0 0 -1];
沒有留言:
張貼留言