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.

734 questions
6
votes
1 answer

Vector length output of discrete time convolution

Suppose that the impulse response of a discrete time filter is $h[i]$ where $i=0,1,2,...,N-1$ and the input sequence to the filter is $x[i]$ for $i=0,1,2,.., M-1,$ what would be the length of output vector length? I have concluded it is $N$ …
Jack
  • 325
  • 1
  • 4
  • 16
3
votes
1 answer

Reducing number of taps in FIR for echo cancellation

I'm trying to implement the NLMS algorithm on an FPGA. The problem is that I'm only allowed to use a maximum number of 2048 coefficients for my FIR filter, my sampling rate is 16KHz, however, the room impulse response sampled at 16KHz can be 10…
Filthy Man
  • 57
  • 6
2
votes
1 answer

Parallel decimating FIR

I'm trying to implement a parallel decimating FIR targeting an FPGA. The data rate is 4x the FPGA clock speed so I am receiving 4 separate streams of the demultiplexed data stream. I need to decimate x2 and filter this data such that I am left with…
Adi
  • 77
  • 5
2
votes
1 answer

What is the difference between closed form and opened form in z transform

I am new in DSP and I need to have a clear udrastanding about below example. Consider the below $h[n]$ as the impulse response of a system: \begin{equation} h[n] = a^n(u[n] - u[n-N]) \end{equation} so the opened z transform can be expressed as…
Captain
  • 31
  • 2
1
vote
1 answer

Why is the attenuation of the cut-off frequency 6dB in MATLAB filter Designer?

I am new to FIR filter design. I have a question about the MATLAB filter designer. I notice that the attenuation at the cut-off frequency is fixed at 6dB. So if I want my attenuation to be 3dB, what should I do?
Yanbo Liu
  • 21
  • 2
1
vote
1 answer

FIR FIlter pipelining

Does pipelining a 3 tap FIR Filter change the output of the filter? I understand the output stays the same but how do I prove that? I am a little confused as we add two more delay elements and am not sure how to go about this.
Rahul Seth
  • 13
  • 2
1
vote
1 answer

FIR filter attenuation in the passband

OK, so I am designing a 2 kHz bandpass FIR filter using the following parameters: Fa = 1900 Hz Fb = 2100 Hz Fs = 50 kHz M = 33 pts Att = 40 dB I calculated the coefficients using this online tool (https://www.arc.id.au/FilterDesign.html) The code is…
Dimlite
  • 13
  • 3
1
vote
2 answers

Is parallel structure applicable in realizing FIR filters?

This may sound weird but can FIR filters be realized by implementing it in parallel form like in IIR? I know that FIR can be realized in cascade, but I can't seem to find any resources that realize FIR using parallel. Is it possible? And if not, why…
John Smith
  • 55
  • 6
1
vote
1 answer

What do high and low order have a meaning in FIR filter?

I'm new DSP fields, and slowly study of FIR Filer and with Matlab which is fir1 function. My question is that What do high and low order have a meaning in fir1 filter? I can't understand what does it have a meaning when N=2 or N=48. In cut-off…
start01
  • 115
  • 1
  • 3
  • 9
1
vote
1 answer

FIR and downsampling

I have an FIR filter on an ADC that samples at 120Hz that I feed into a control loop that runs at 10Hz. What would be better from a noise perspecitve: Option 1: Just run the FIR and downsample ever 12th point to get 10Hz Option 2: Run the FIR and…
Voltage Spike
  • 207
  • 2
  • 14
1
vote
1 answer

FIR filter : $h(n)$ is palindrome?

I study condition for fix if filter is a linear phase,but it's not clear in my mind! I have this $h(n)$: $$h(n) = \begin{cases} \left(\frac{1}{2}\right)^{n} & 0
P_B
  • 57
  • 7
0
votes
1 answer

Transposed FIR filter: Alternative binary tree structure

As part of an exercise, I have been assigned to find an alternative method of executing the additions of a transposed FIR filter. There is a hint stating that the alternative method should be in a form resembling a binary tree. I figured that the…
samiu
  • 1
  • 2
0
votes
1 answer

Generate FIR filter coefficients from Mag and Phase response

I have the target filter response in the form of (bin #, value) for every fft bin, for Magnitude and Phase. As an example, (bin 100, +12dB) for Magnitude and (bin 100, -90 degrees) for Phase. How do I generate the corresponding FIR filter…
Joel
  • 55
  • 4
0
votes
1 answer

halfband filter

I am not familiar with this halfband filter implementation: input is feed into two paths: the upper path is simply same as input, say x0, x1, x2, etc. The lower path is a halfband filter coefficients (every other coeff is 0), say y0, y1, y2, etc.…
hbf
  • 13
  • 4
0
votes
0 answers

GLP type three filter of order k, amplitude response?

Given a GLP type three filter of order K, with an amplitude response of |H(theta)|. I need to show that the number of real and causal FIR filters(identically different) of order K, with the same amplitude response |H(theta)|, is less than or equal…
1
2