# Questions tagged [filters]

In signal processing, a filter is a device or process that transforms a signal by selectively choosing specific frequencies and leaving others with appropriate gain or as it is.

267 questions
Filter by
Sorted by
Tagged with
24k views

### Why is it a bad idea to filter by zeroing out FFT bins?

It's very easy to filter a signal by performing an FFT on it, zeroing out some of the bins, and then performing an IFFT. For instance: ...
1k views

10k views

### How do I interpret the DCT step in the MFCC extraction process?

In most audio processing tasks, one of the most used transformations is MFCC (Mel-frequency cepstral coefficients). I mostly know the math that's behind the MFCC: I understand both the filterbank ...
12k views

### Is a leaky integrator the same thing as a low pass filter?

The equation governing a leaky integrator (according to Wikipedia at least) is $\frac{d\mathcal{O}}{dt} + A\mathcal{O}(t) = \mathcal{I}(t)$. Is a continuous-time leaky integrator thus the same ...
7k views

### 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 ...
3k views

### “Low-pass filter” in non-EE, software API contexts

I am an experienced software engineer and am working on smartphone sensors. I've taken fundamental EE classes in DSP and am trying to apply my knowledge. I believe that I understand convolution, ...
957 views

### Adaptive filtering: Optimum filter length and delay

I'm trying to find the optimum filter length for an Adaptive Filtering, using RLS Algorithm. I'm using this design: So the "error" signal is the signal without noise (and that's the signal that I ...
901 views

### FIR Filter Design - input parameters conversion

I am new to DSP and filter design. I have developed a code in C++ to calculate FIR coefficients using Parks-McClellan algorithm. The inputs to calculations are: Filter type (Low-Pass, High-Pass) ...
58k views

### What is the difference between phase delay and group delay?

I'm studying some DSP and I'm having trouble understanding the difference between phase delay and group delay. It seems to me that they both measure the delay time of sinusoids passed through a ...
17k views

### Peak detection approach

What are the peak detection algorithms in existence? I have noisy data, and I would like to implement peak detection for this data. Data is in reverse, actually I am trying to determine the bottom. ...
25k views

### 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 ...
3k views

### How to remove or filter the drift problem in measured Strain signal?

I have the strain signal of a lateral beam of a car measured at sampling rate 1,200Hz from data acquiring system. Even after using temperature compensation in strain gage, we are getting drift. So I ...
3k views

### Shift a signal by fraction of a sample

I have a signal with a sample time of 0.5 micro seconds and I would like to shift this signal by a fraction of the sample time, say by 3 nano seconds. I have read a few online resources about ...
9k views

### Why root raised cosine filter can eliminate intersymbol interference (ISI) ?

My question is kinda silly, I know it. But I cannot understand why root raised cosine filter or raised cosine filter can eliminate ISI. I googled before, but those explanation is not easy for me to ...
929 views

### GPS signal acquisition

I have a set of GPS satellite signal data, the set is 1 ms long and has the information of two satellites (satellite number, code phase and frequency) buried in noise. This data has a carrier ...
402 views

### Applying Image Filtering (Circular Convolution) in Frequency Domain

To filter an image we can: Use a 3x3, 5x5, 7x7, etc. filter, that is convolve the image and the filter in the space domain. Use a FFT on both the image and the filter, multiply them together in the ...
46k views

### Simplest way of detecting where audio envelopes start and stop

Below is a signal which represents a recording of someone talking. I would like to create a series of smaller audio signals based on this. The idea being to detect when 'important' sound starts and ...
23k views

### 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?
21k views

### How to Extract High Frequency and Low Frequency Component Using Bilateral Filter?

What does High frequency and low frequency component signify in an image. How to separate out the high frequency as well as low frequency component of an image using Bilateral filter.
4k views

### Convert a FIR to an equivalent IIR

Is there a way to convert a FIR to an IIR filter with the most similar behavior?
3k views

### Analytically designing a notch-filter for specified frequency 50 Hz

I tried to analytically construct a causal notch filter that stops frequencies at 50Hz and I thought if zeros are more than poles it will be non-causal so I chose equal amount of poles and zeros ...
1k views

### How to design very narrow, sharp lowpass filters - Only DC needed?

I asked exact the same here one year ago: One year ago question I asked this question again here, because after one year, I have learned more about DSP and am thinking ways to improve it. Filter ...
978 views

### Different way to separate a particular frequency from a signal

Let's say I have a signal which is composed of 2Hz,10Hz,17Hz,19Hz and 25Hz discrete time sinusoidal waves and I need to allow only 17Hz component to pass. As far as I know, the standard way to ...
17k views

5k views

### Which domain used for denoising additive and multiplicative noises

I want to know what is the difference between additive noise, multiplicative noise.. In what domain these noises are handled to remove? I am interested particularly in image dataset Does different ...
410 views

### Mixed time/frequency domain data

I'm afraid this might be a bit of an elementary question, but I'm afraid I'm a little new to this. I've got a system that measures a frequency spectrum to find resonant frequencies. It does this by ...
2k views

### FFT analysis for Vibration Signal

I am working on balancing an air-spindle. For the unbalance analysis I use an accelerometer (NI device). I have the voltage signal from the accelerometer corresponding to the vibration of spindle at a ...
4k views

### 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:} ...
703 views

### Are SOS structures better for linear phase FIR filters?

I've seen many discussions suggesting that SOS's are often/usually the preferred structure for fixed point hardware filter implementations, since they preserve conjugate pairs, etc., but I've never ...
6k views

### Bandpass filters with python for low frequencies

I have a signal, sampled at 1 kHz, that I would like to analyze in third octave bands. For that purpose I defined Butterworth filters with proportional bandwidth. This works well for higher ...
1k views

I would like to ask something regarding CICs (Cascaded Integrator-Comb filters) or more particular about the frequency response of it. Assuming that I have as input IQ samples from a signal generator ...
6k views

### What is the advantage of weighted median filter over median filter?

I could not find any proof or comparison of weighted median and median filters. Yes the more occurring pixel contributes much but what should be the criteria of choosing weight function. And any ...
461 views

### Discrete-time Biquad filter: Relation between peak frequency and pole frequency

This question arose from a discussion in the comments to this question and its answer. The author of that question discussed a discrete-time second order filter described by the following difference ...
29k views

### What is the true meaning of a minimum phase system?

What is the true meaning of a minimum phase system? Reading the Wikipedia article and Oppenheim is some help, in that, we understand that for an LTI system, minimum phase means the inverse is causal ...
22k views

### Why do we use window in time domain rather than do FFT modify the spectrum and than inverse FFT

I thought that DSP would be done by using FFT of portions of a signal, modify the samples that result from FFT (since they represent the spectrum of our signal + noise) and remove any unwanted signals ...
4k views

### Fast / Efficient Way to Decompose a Separable integer 2D Filter Coefficients without the SVD

I would like to be able to quickly determine whether a given 2D kernel of integer coefficients is separable into two 1D kernels with integer coefficients. E.g. ...
14k views

### could anybody explains me why IIR filters do not have linear phase?

Please tell me. Also I dont know why phase is linear with FIR filters. I would like quantitative analysis. And why linear phase is not achieved by IIR filters ?