"I. R. Khan" <
[email protected]> writes:
> Hi all,
>
> If h is the impulse response of an FIR filter then Sum[h(n) Exp(j w n)]
> describes its frequency response. What is the range of n for an odd length
> filter? Is it n = -N : N, or n = 0 : 2N? How about even-length filter; will
> it be n = 0 : 2N-1 or n = -N/2 : N/2?
It could be any of the above or something else yet.
In general, the n in the sum you listed runs from negative infinity to
positive infinity. The limiting factor is the non-zero extent of the
impulse response h[n], and that simply depends on the system being
represented.
For example, let's say you are given a filter with response from n =
-N to +N (an odd filter of length 2*N+1). If a delay of 2*N samples is
added to that system, the new system still has length 2*N+1 but runs
instead from N to 3*N, which is neither of your odd-length forms.
--
% Randy Yates % "Remember the good old 1980's, when
%% Fuquay-Varina, NC % things were so uncomplicated?"
%%% 919-577-9882 % 'Ticket To The Moon'
%%%% <
[email protected]> % *Time*, Electric Light Orchestra
http://home.earthlink.net/~yatescr