Questions tagged [finite-impulse-response]

A finite impulse response (FIR) filter is a type of a signal processing filter whose impulse response is of finite duration.

A finite impulse response filter is a type of a signal processing filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which have internal feedback and may continue to respond indefinitely (usually decaying). The impulse response of an Nth-order discrete-time FIR filter (i.e. with a Kronecker delta impulse input) lasts for N+1 samples, and then dies to zero.

FIR filters can be discrete-time or continuous-time, and digital or analog.

Source: Wikipedia.

609 questions
32
votes
2 answers

Filter order vs number of taps vs number of coefficients

I'm learning DSP slowly and trying to wrap my head around some terminology: Question 1: Suppose I have the following filter difference equation: $$y[n] = 2 x[n] + 4 x[n-2] + 6 x[n-3] + 8 x[n-4]$$ There are 4 coefficients on the right-hand side.…
28
votes
2 answers

What is the cut-off frequency of a moving average filter?

I need to design a moving average filter that has a cut-off frequency of 7.8 Hz. I have used moving average filters before, but as far as I'm aware, the only parameter that can be fed in is the number of points to be averaged... How can this relate…
28
votes
6 answers

Why is a linear phase important?

If symmetry conditions are met, FIR filters have a linear phase. This is not true for IIR filters. However, for what applications is it bad to apply filters that do not have this property and what would be the negative effect?
23
votes
4 answers

FIR Filter Design: Window vs Parks McClellan and Least Squares

Are there any advantages to use a window approach over Parks-McClellan (further abbreviated here as PMcC) or Least Squares algorithms for FIR filter design of a low pass filter? Assume with today's computational power that the complexity of the…
20
votes
7 answers

Where can I get an open source implementation of the Parks-McClellan optimal FIR filter design algorithm?

Background: Often times I am doing some sort of signal processing task that requires a unique filter. Usually at this point I go to MATLAB and generate a new unique filter using $\tt firpm()$. The MATLAB firpm() function implements that…
19
votes
3 answers

FIR filter with linear phase, 4 types

I know there are 4 types of FIR filters with linear phase, i.e. constant group delay: (M = length of impulse response) Impulse response symmetrical, M = odd Imp. resp. symmetrical, M = even Imp. resp. anti-symmetrical, M = odd Imp. resp.…
Vidak
  • 565
  • 1
  • 3
  • 8
17
votes
1 answer

Digital filter design basic principles (IIR/FIR)

Although I have a solid experience in designing audio engines and such, I am fairly new to the realm of Digital Filter Design, particularly IIR and FIR filters. In other words, I'm trying to learn as much as I can on how to design filters and derive…
16
votes
5 answers

Why are FIR filters still stable even though they contain poles?

How come FIR filters are always stable? Since they contain poles, shouldn't they be more affected by stability issues than others?
user7277
  • 247
  • 1
  • 3
  • 10
15
votes
3 answers

How can I design a very narrow filter?

Suppose I've got an audio signal sampled at $48000$ Hz, and I'd like to design a low-pass filter that isolates everything below ~$60$Hz. In the digital world, this is a low-pass filter with the passband at $[-\frac{\pi}{400} , \frac{\pi}{400} ] $.…
Phonon
  • 4,938
  • 3
  • 34
  • 60
14
votes
2 answers

Filter Order Rule of Thumb

Is there a rule of thumb for calculating the approximate filter order of a FIR/IIR based on passband vs sample rate? I seem to remember reading about it once in Undergrad. I'd think you could make a rough estimate like scaler * passband/stopband. I…
13
votes
3 answers

Mapping of Classic Filters for Digital Filter Design

Of the four classic analog filter types: Butterworth, Chebyshev, Elliptic and Bessel- are any of these relegated to obsolescence for purposes of digital filter design in comparison to optimized algorithms such as least squares (firls),…
12
votes
2 answers

A basic question about the use of moving average vs low-pass filters in DSP

I'm newbie novice in digital signal processing. If one has a signal with some noise superimposed in time series, for which type of information/analysis one would use moving average or LP filter in practice. Imagine you have a 5 seconds of sampled…
user1245
  • 241
  • 1
  • 2
  • 6
11
votes
2 answers

Why would one use a Hann or Bartlett window?

Suppose we're designing a low-pass FIR filter, and I want to use one of these three windows: Bartlett, Hann or Hamming. From Oppenheim & Schafer's Discrete-Time Signal Processing, 2nd Ed, p. 471:} All three of them provide the same transition…
11
votes
1 answer

What's the advantage of adaptive IIR filter against FIR?

Adaptive IIR filters is not straightforward, and may be unstable. Many people say that adaptive IIR filters use less coefficients than FIR filters. What I'm curious about is how many coefficients can IIR save? I tried to use adaptive IIR filters to…
10
votes
4 answers

Minimum Phase - All Pass Decomposition For Large Linear Phase Filters

UPDATE: I am looking for a robust approach to decompose linear phase FIR filters with 100s of coefficients into its minimum phase and all pass components. I originally thought determining all the zeros from the coefficients would be a mathematical…
1
2 3
40 41