I am trying to design a kaiser filter.
Just for testing I set wp=0.3 and ws=0.4 to get the lowpass version
of the filter.
It seems changing the wp and ws does not swich between low- or
highpass or the leads to exact changes of the stopband and passband
anyone can help me to find out where im wrong?
thank a lot
In the example below the magnitude response looks like a highpass but
the plot doesn't match the specifications of wp and ws!?
N%6; %fix length
trsBnd=(ws-wp)*pi; %transition band
f=(-(length(b)-1)/2:1:(length(b)-1)/2)*2/length(b); %freq. axis
plot(f,log(abs(fft(b)))); %log magnitude response