Here is matlab code ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
fs = 2000;
f = 0:20:1000;
D = besselj(0,f);
DD = fliplr(D);
DD(1) = [];
DD(end) = [];
H = [D DD];
h = ifft(H);
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
to make even fir filter
D : half desired frequency response
DD : half desired frequency response
h(1) and h(end) is not symmetric..........
help me
h(end)
corresponds toh(2)
, not toh(1)
. $\endgroup$h(1)
andh(end)
should be identical for the impulse response to be symmetrical. That's not the case. $\endgroup$