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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
132 views

How to implement the recursive FIR filtering of a signal with zero boundary condition?

Now I have a signal $f(k)$ with $k=0,1,\ldots, N-1$, and $f(k)=0$ if $k<0$ or $k>N-1$, that is, the signal satisfies the zero boundary condition. Then by convolving this signal with a symmetric ...
user avatar
0 votes
1 answer
30 views

Why does applying fir filter in R (gsignal package) increase the magnitude of all values?

I am new to signal processing and I am sure this is a very rudimentary question. However I have done various searches and I cannot find an explanation (possibly because my knowledge is insufficient to ...
user avatar
  • 3
0 votes
0 answers
13 views

OBC DA FIR Filter Implementation

I understand the theory of Distributed Arithmetic and its application in FIR Filter implementation to avoid the excessive power consumption in the multiplication operations But a question here, when I ...
user avatar
4 votes
1 answer
132 views

Decimation filters: IIR vs. FIR

I just read this article on decimation filters. In particular, in section 2.3.3 it is strongly suggested that FIR filters are advantageous, because you only need to calculate every $M$th sample, where ...
user avatar
  • 354
0 votes
0 answers
24 views

How to solve attenuation caused by filter coefficient quantization in Matlab?

Before quantization of filter coefficient, it behaves well, but after quantization the amplitude drops to 0.52186, which is expected to be 1000(fig.1). But according to the amplitude response in ...
user avatar
0 votes
0 answers
10 views

Designing a prototype filter for a DCT-filterbank

I want to create a prototype filter as in A Kaiser Window Approach for the Design of Prototype Filters of Cosine Modulated Filterbanks. I want to create a filter of length 2*M with M = Number of ...
user avatar
0 votes
1 answer
46 views

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 ...
user avatar
  • 1
1 vote
3 answers
90 views

FIR filter phase response at fs/2

I am currently building a FIR filter based on frequency sweeping data (0 Hz to Fs/2), i.e., transfer curve in frequency with the sampling rate of Fs. The phase response is shown in the following ...
user avatar
1 vote
1 answer
17 views

Matlab Filter Designer "Filter Information" shows wrong order

I want to design a low pass filter using the Filter Designer tool of Matlab. The filter order should be 10. I chose the Blackman window method and specified the order of the filter. However, "...
user avatar
  • 125
2 votes
1 answer
39 views

A problem on FIR filter design given a difference equation

Given the following difference equation: \begin{equation} y(n)=2x(n-2)+3x(n-5) \end{equation} describing the structure of an FIR filter, design the direct form of one. What is the order of the filter? ...
user avatar
3 votes
1 answer
242 views

Filter type selection for signal envelope detection

Working on a signal envelope detection code in Matlab in which an RF signal envelope is to be created. The flow is such that filtering is performed according to the detected presence of a signal in a ...
user avatar
  • 312
1 vote
1 answer
31 views

How to create a frequency weighted measurement? / How to design a Pinking FIR Filter?

Disclaimer: I have read a lot about signal processing, but I taught everything myself and therefore have some gaps in theory and practice. I am currently working on a measurement software that is ...
user avatar
0 votes
1 answer
33 views

Convert filter coefficients at one sample rate to different sample rate

I was doing some research into dithering in audio, and I was always wondering what Audacity's "Shaped" dither was. Well, turns out it's noise shaping, with an FIR filter whose coefficients ...
user avatar
  • 111
2 votes
2 answers
83 views

For continuous systems that in Quasi-static / Static Equilibrium are Memoryless?

A. BACKGROUND: Apparently this question’s answer says this some static systems have memory especially those that hysteresis: Confusion about 'memoryless' meaning So the word static to me ...
user avatar
  • 21
1 vote
3 answers
188 views

Can sampling rate impact filter output?

I am noticing that the behavior of equalizers in music softwares varies depending on the sampling rate. If we apply a filter (IIR or FIR) to a digital signal, in what situations does the sampling rate ...
user avatar
  • 31
1 vote
1 answer
97 views

Finite/Infinite Impulse Response filters

Most image filters are of finite extension (which correspond to Finite Impulse Response in 1 dimension), like Laplacian, Canny, Gaussian... Instead of being of infinite extension (IIR in 1D). Why is ...
user avatar
2 votes
1 answer
37 views

Why fir1 from MATLAB returns one more sample than its order?

I'm starting to use both the fir1 MATLAB and firwin Scipy functions. Both are window-based FIR filter design methods. I would ...
user avatar
2 votes
0 answers
51 views

Numerical optimization method for optimal edge detector

John Canny, in his paper "A Computational Approach to Edge Detection" (PDF), finds the expression of an optimal edge detector by first using an analytical approach (Euler-Lagrange equation). ...
user avatar
3 votes
2 answers
121 views

Constrained Least Squares Filter Design

I would like to design a complex FIR filter, $h$, for a known signal that produces a desired output: $d$ = $s*h$ (where $s$ is my signal and $d$ is the desired filter output). Let $S$ be the ...
user avatar
  • 598
0 votes
1 answer
26 views

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 ...
user avatar
  • 55
9 votes
2 answers
1k views

FFT-based fast convolution vs IIR filtering

I'm doing an multichannel audio equalizer system on a chip, which is parametric EQ, usually implemented in cascaded biquad IIR filters. My problem is that I use a lot of IIR filters due to multiple ...
user avatar
0 votes
1 answer
39 views

What's the interpretation of this Low pass filter spec?

From the filter characteristic mentioned in the table, is it correct to interpret following for LPF: Fs=192Khz Passband edge=43.8Khz; passband ripple=5mdB Stopband edge=112Khz; stopband attenuation=...
user avatar
1 vote
1 answer
125 views

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 ...
user avatar
1 vote
1 answer
66 views

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 ...
user avatar
0 votes
1 answer
35 views

Having a hard time understanding FIR filter transverse structures

I'm currently learning about FIR filtering from one of my modules and went through topics such as transverse implementation(or structures since I could not find transverse implementation on the net) ...
user avatar
  • 103
1 vote
1 answer
55 views

How to determined the cutoff frequency of a IIR or FIR

I am trying to design a IIR to remove the noise from my input signal. Here is my the my input signal in the frequency domain And here is the noise in the frequency domain that, So I may choose ...
user avatar
1 vote
0 answers
78 views

What are these mysterious spike after the FIR filter?

The main paramter of this fir filter in flowgraph: Decimation:1 Cutoff freq:8KHz Transition width: 1KHz I have a very simple FIR test in Gnuradio ,the flowgraph is below: When I change the signal ...
user avatar
2 votes
0 answers
43 views

Does a FIR filter $H(z)$ with maximally flat passband group delay response satisfy $|H(e^{i\omega})| \leq 1$? [closed]

From this paper (Maximally flat low-pass FIR filters with reduced delay) and others, I know that it is possible to impose maximally flat passband group delay response constraints. Suppose that I do ...
user avatar
7 votes
4 answers
474 views

Find the Transfer Function from Magnitude and Phase Response

We can use common algorithms such as what is available in firls and firpm in MATLAB for least squares or minimax fitting to ...
user avatar
  • 37.7k
0 votes
1 answer
33 views

A real-time (causal, non-symmetric) lowpass FIR filter with minimal passband ripple and phase

I am looking for a lowpass FIR filter that is causal (all samples used are current or past) and exhibits very low passband ripple and has passband phase very close to zero, which necessitates a filter ...
user avatar
0 votes
1 answer
68 views

Formula to compute FIR and IIR Filter coefficients

I am trying to understand filter design. I am trying to implement butterworth filter which would have high,low and bandpass using the difference equation representation for FIR and IIR. Given the low ...
user avatar
  • 41
0 votes
0 answers
54 views

Frequency filtering in the frequency domain vs. time domain

As a DSP newbie, I've stumbled into doing band pass filtering (of pre-recorded IQ data) in the frequency domain - which allows brick wall filtering (I'm just setting the IQ values of each consecutive ...
user avatar
  • 21
2 votes
1 answer
235 views

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 ...
user avatar
  • 77
2 votes
1 answer
45 views

Symmetric half-band FIR re-timing

I'm trying to get my head around an FPGA implementation of a half-band FIR filter. I'm trying to draw the block diagram to help with that. I've started with a 10th order example as so: Due to the ...
user avatar
  • 77
0 votes
1 answer
156 views

Does FIR filter remove DC offset properly?

I was checking FIR and IIR filter for offset removal. But I found that FIR can not remove DC offset properly. I think there's something more to do with the filter coefficients of FIR to remove DC ...
user avatar
3 votes
3 answers
290 views

Interpolation FIR filter output spectrum

I've inherited some FPGA code implementing an interpolation by 2 with a FIR low pass filter. The code came with a cocotb test bench that also models a filter (scipy.signal.lfilter) and then compares ...
user avatar
  • 77
0 votes
0 answers
24 views

Convolution between bit stream sampled by N number of samples per bit with a channel modeled as low pass filter

I generated a bit stream in MATLAB, from the transmitter to be convoluted by the channel I use MATLAB function "randi" between 0 & 1, so it generates random vectors of 0s & 1s and ...
user avatar
1 vote
4 answers
94 views

Fractional Delay in Matlab Scale Signals

I am trying to write a function which takes an input signal and delays it by a non-integer index. The function is based on the ideal bandlimited fractional delay filter technique, already available in ...
user avatar
0 votes
1 answer
105 views

Remez function equivalency between Matlab and Scipy

I've read the similar question Find the equivalent of this python remez specs in C++ remez or Matlab firpm, which describes a different problem. In Matlab, I have following ...
user avatar
0 votes
1 answer
67 views

How to design fir filter from transfer function

Transfer function is this equation in frequency domain: $$G(f) = \frac{1}{4\pi d} e^{i2 \pi d f/c}$$ or Hankel function d : constant (distance), c : 340 We may think we know complex number of ...
user avatar
  • 81
0 votes
1 answer
43 views

Best way convert transfer function to FIR filter without group delay if i have complex transfer function data

when i calculate acoustic transfer function, system identification using adaptive fir filtering is usually used and that have not tap/2 group delay maybe. in simulation if i have complex number of ...
user avatar
  • 81
0 votes
0 answers
35 views

non-causal cascade filtering process in frequency domain

if i have linear filter that operate in frequency domain filter length is L (Overlap and save method) if there is no computational time, i get L input signal and fft and multiply filter and ifft the ...
user avatar
  • 81
0 votes
1 answer
53 views

How to implement the direct form of FIR filter if in the transfer function there is no poles and power of z's are positive?

I confuse about the implementation of the FIR filter with no poles. If the transfer function is given in the form $$ H(z) = 1+az^{-1}+bz^{-2} $$ direct form implementation is just delay operator ...
user avatar
0 votes
1 answer
64 views

How to determine the transfer function of the second order FIR filter?

I need to find the transfer function of the second order FIR filter. I searched a lot in the standard textbooks, but I could not get the mathematical expressions and derivations. I want that the zeros ...
user avatar
0 votes
1 answer
53 views

If i have arbitrary complex number what is the best method to make filter

i have equation like for example A(W) = isin(2pi*w) in frequency domain (it can be anything) that have arbitrary amplitude and phase response. i usually make symmetric structure in real part and ...
user avatar
  • 81
0 votes
0 answers
20 views

What happen to the received signal when its the sampling rate is double the bit rate?

Suppose the received signal is defined as $y(t)= \sum_{n=-\infty}^{\infty }b[n]p(t-nT)$ the received signal then sample at rate $T_s=T/2$ I tried to solved for the sampling signal as follow; $r[k]= y(...
user avatar
  • 1
0 votes
1 answer
58 views

Find a band-pass filter

The question is: how can I define $h_1[n]$ in such a way that $h [ n ] = \delta [n - 1 ] + 2 \delta [n -2 ] + h_ 1 [n]$ is a band-pass filter. My thought was the following. Firstable, I wrote the $Z$-...
user avatar
  • 57
1 vote
2 answers
89 views

Integer v Fractional ADC outputs with FIR Filter Inputs

I have a system I'm working on that inputs an 18 bit ADC output into an FIR filter on a Xilinx FPGA. I'm a little concerned I may be representing the numbers wrong. My ADC outputs a signed 18-bit ...
user avatar
  • 172
0 votes
0 answers
28 views

Arbitrary shape frequency response filter [duplicate]

i want to make arbitrary shape digital filter from equation. that have own magnitude and phase response. the equation is bessel function. the frequency response is below zero phase and real value and ...
user avatar
  • 81
0 votes
1 answer
49 views

frequency sampling method) why the coefficient is not symmetric?

Here is matlab code ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ ...
user avatar
  • 81

1
2 3 4 5
13