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.

480 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
94 views

Find moments of a discrete process using $\mathcal{Z}$-Transform method

For a linear process relating a variable $Y_i$ to random, independent variables $X_i$ using the equation: \begin{equation} Y_i = aY_{i-1} + (1-a)X_i \end{equation} which has the solution: \begin{...
5 votes
0 answers
1k views

detect what is noise in audio signal

I'm trying to filter noise from an audio signal. The signal was and is going to be recorded in a city environment which always contains some white/pink noise. At this moment I'm using two options to ...
4 votes
0 answers
200 views

Down-sampling a signal after convolution

I was trying to understand more about image compression using the Wavelet transform and I got quite confused about the down-sampling step. I took a picture from here for reference: At each step a ...
  • 91
4 votes
0 answers
107 views

Origin of the name "Olympic filter" in signal processing

Olympic filter is the name of a digital filter for removing spikes in the data. In the "Image Processing Handbook" 7th Ed., pg 192, this name is rationalized as follows: A modification to ...
  • 500
4 votes
0 answers
6k views

1/3 octave spectra from fft

I have got a signal in frequency domain. This is a frequency response function from software, so I can do nothing about it and have to leave it in frequency domain. I want to transfer the data to 1/3 ...
4 votes
1 answer
101 views

log(conv) vs conv(log)

Suppose an arbitrary, strictly positive $x[n]$, transformed as $$ x_l[n] = \log(1 + C x[n]) \tag{0} $$ where $C$ is freely chosen. Given the following, where $h[n]$ is a Gaussian lowpass filter (or ...
4 votes
1 answer
259 views

New to DSP and having trouble filtering data

I am trying to make program in matlab that counts the number of times the accelerometer was lifted up and down (a rep counter for exercise). Basically my phone is getting accelerometer data on all ...
4 votes
1 answer
1k views

Convolution of spectra to sensor response function?

I am really sorry if it is wrong place to ask this question but i couldn't not find any stackexchange website appropriate. i have some reflectance values of a material which are measured in 10.5 and ...
user avatar
4 votes
1 answer
563 views

Wavelet filter coefficients from the Morlet wavelet

How can I obtain the wavelet filter coefficients ( i.e. lowpass decomposition filter, highpass decomposition filter, lowpass reconstruction filter, highpass reconstruction ...
  • 41
3 votes
0 answers
57 views

Difference between lattice and wiener FIR filter

I know the structure of lattice and wiener filter. But I though FIR filter is always FIR (wiener, tap + delay) filter, But what is the advantage of lattice structure, which in the CMSIS DSP filter ...
3 votes
0 answers
166 views

CIC filter internal register truncation

I try to implement CIC filter with truncation in hardware, but there is some misunderstanding. For some reason the output signal is broken. My filter is N = 6, R = 20, M = 1, Bin = 16, Bout = 16. (...
  • 31
3 votes
0 answers
310 views

Efficient implementation of spike removal

I have implemented the moving median absolute deviation (moving MAD) and it seems like bit-exact to Matlab's implementation. Nevertheless, I am sure that it is not efficient. The usual median filter ...
3 votes
0 answers
245 views

Kalman Filter for position : introducing acceleration estimates

I want to estimate the position on a 3D environment by introducing only acceleration estimates. Is that possible? If I use the extended Kalman Filter and introduce these estimates will I have the ...
3 votes
0 answers
33 views

Inconsistant Variation in BLE Beacon RSSI Values for Distance Measurement

I am developing an application to estimate the distance to a BLE Beacon using its RSSi values measured from a Mobile Phone. But when I started to collect data I could see that they varied so much that ...
3 votes
0 answers
159 views

How to implement the RLS for matrices

I need to implement the RLS algorithm but it's for matrices instead for vectors, I have made the below code, but still something wrong is not working well, EDIT: The code should be done as below, ...
3 votes
0 answers
229 views

What is the meaning of a inner system/transfer function?

In an academic paper I'm currently reading [1], the notion of an inner system is central. It is defined as follows A (linear) system $G$ (with $m$ inputs and $p$ outputs) is called inner if it ...
  • 181
3 votes
0 answers
358 views

Applying Jake's remez exchange algorithm for filter design

I have found C implementation for remez exchange algorithm(https://github.com/janovetz/remez-exchange/blob/master/remez.c) and I want to use this to implement a generic prototype lowpass filter. ...
  • 143
3 votes
0 answers
2k views

Pre-emphasizing in speech recognition

Usually, in speech recognition, the techniques that are used are based on the linear prediction model (Fant, 1960). Parallel to this, the human speech production mechanism causes energy to drop ...
3 votes
0 answers
210 views

Gain of resonating filters

I'm trying to make a music instrument based on a resonator with a high Q, such as Ableton's Corpus and Ableton's Resonator (I think the former is based on a simple 2nd order resonant filter while the ...
  • 664
3 votes
0 answers
274 views

Given an output from a filter how do you find the input?

I have the output from a narrow bandpass filter. I know the details of the filter completely. The filter removes noise but also adds some contamination to the output. How can I find the input ...
  • 233
3 votes
0 answers
73 views

Can you use Fourier transformations (or other) to read multiple superimposed barcodes?

If you printed bar codes on tracing paper/acetate etc. and then positioned several in front of one another, could you extract the individual codes from the aggregate overlaid image? I feel intuitively ...
3 votes
0 answers
499 views

Box filter approximations for oriented gabor filters

I'm currently working on a library to generate synthetic fingerprints using the SFinGe method (by Maltoni, Maio and Cappelli) link :http://biolab.csr.unibo.it/research.asp?organize=Activities&...
3 votes
0 answers
736 views

Matlab Simulink Sampling

First, I apologize for the vague title, to be honest, I'm not even sure how to describe my question in a title. If someone would like to edit it so its more reflective of what I'm asking, then please ...
  • 131
3 votes
0 answers
661 views

Why do Savitzky-Golay filters of degrees 4 and 6 have roughly opposite ripples?

Savitzky-Golay smoothing filters of polynomial degrees 4 and 6 have frequency response with ripples of roughly opposite signs. Thus averaging the coefficients of two filters of degrees d and d+2 is an ...
  • 598
3 votes
0 answers
7k views

Simulink continuous to discrete question

I'm new to Matlab/Simulink and would like to convert the continuous system below to discrete for eventual conversion to C code. Matlab has a c2d function, but I don't know how to apply it to a ...
3 votes
0 answers
208 views

Blurring in anisotropic outputs

I am trying to produce ideal anisotropic diffusion outputs using the standard lena image. Using the first coefficient , the output is coming somewhat close to ideal ouput but when I increase the kappa ...
2 votes
0 answers
33 views

Deconvolving while suppressing other known signals

Given a known impulse response $h(t)$ and an observed signal $y(t)=(h*x)(t)+n(t)$, my aim is to recover an estimate of $x(t)$ in the presence of unknown additive noise $n(t)$. If the mean power ...
  • 193
2 votes
1 answer
74 views

N'-band channelizer (filter bank) via Sliding FFT

I'm trying to figure out how to perform N'-band channelizer for SSCA (strip spectral correlation analyzer) via sliding FFT. I understand that I have to take $N$ points of signal in time domain $x(t)$, ...
2 votes
0 answers
31 views

Implementation of Deriche filter

The Canny edge detector is expressed by the derivative of the Gaussian. Its practical implementation involves the Gaussian filter, then the Sobel filter to calculate the gradient in both directions. ...
2 votes
0 answers
53 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). ...
2 votes
0 answers
50 views

Ideal low pass filter with cut-off B does not affect a band-limited baseband signal with maximum frequency B

Let $x(t)$ be a band-limited signal with spectrum (fourier transform) lying between -B and +B. Such a signal is not warped by an ideal low-pass filter with cut-off frequency equal or higher than +B. ...
  • 284
2 votes
0 answers
77 views

Equivalence between the linear phase of FIR filters and the (anti)symmetry of the coefficients

According to the Matt L.'s answer to this question, real-valued and causal FIR filters have a (generalized) linear phase response if and only if their coefficients satisfy (anti)symmetry condition. ...
  • 701
2 votes
0 answers
224 views

How to read the filter IIR design numericals specifications?

First of all I want to let you know about notations that I am using-: $\alpha_p$=attenuation factor of passband(in dB) $\alpha_s$=attenuation factor of stopband (in dB) $A_p$=Gain at passband edge ...
  • 31
2 votes
0 answers
87 views

Multiple 1D gaussian filter

Given $$ \begin{cases} &f_0(x)=1 \\ &f_{n+1}(x)= (\varphi*(f\mathbb{I}_{[a_n,b_n]}))(x)=\int_{-\infty}^{+\infty}\varphi(x-t)f_n(t)\mathbb{I}_{[a_n,b_n]}(t)dt = \int_{a_n}^{b_n}\varphi(x-t)f_n(...
  • 143
2 votes
0 answers
228 views

Edge artifacts in frequency-domain Moving Average filter

I am currently trying to implement in python an algorithm to identify and filter out one specific periodic EEG artifact -- the grad fMRI artifact -- as described in this paper, and I am incurring in ...
2 votes
0 answers
47 views

Showing that filtering a signal with bandwidth B with a brickwall filter of bandwidth W>B has no effect in time domain

The time-domain representation of $G(f) H(f)$, where $H(f)$ is an ideal brickwall filter of bandwidth $1/(2T)$ is: $$ \int g(\tau) \operatorname{sinc}\left(\frac{t-\tau}{T}\right) d\tau $$ I want to ...
  • 453
2 votes
0 answers
158 views

Filtering a square signal with a median filtering to preserve the edges

If needed, you can find my first post for this problem here. I am trying to clean the following signal: As proposed in the comment, I tried to use this post proposing 2 methods: median filtering and ...
  • 181
2 votes
0 answers
62 views

Coupling two resonant bandpass filters? (To simulate guitar/piano string effects)

A major part of the sound of a guitar or piano string comes from the coupling of the horizontal and vertical string vibrations. This concept is described in terms of transfer functions here. This ...
  • 437
2 votes
0 answers
118 views

How Do Particle Filters Get Velocity When Tracking with Pos Measurements

I am new to particle filtering. I can see when particle filters are used with Ensemble Kalman's, the velocity of the states are taken care of by the Kalman. When tracking using particle filters ...
  • 21
2 votes
0 answers
64 views

Is it possible to create a causal filter with a positively-sloped phase response?

I am currently prototyping a set of noise-cancelling headphones that utilize active EQ to modify the noise-cancelling signal, allowing the user to modify the frequencies that they hear or don't hear. ...
  • 21
2 votes
0 answers
224 views

How to calculate Walsh hadamard transform for image patches of odd sizes?

I was reading this paper on optical flow, which as apart of the algorithm makes use Walsh-Hadamard transform on image patches of size 2r+1. So far, where ever I have looked, I could only find that ...
2 votes
0 answers
203 views

Octave filtfilt converted to R code

R has a function called filtfilt that performs zero-phase digital filtering by processing the input data in both the forward and reverse directions. But it suffers from having steep transition bands....
2 votes
0 answers
111 views

Using a Passive 1st Order RC filter to Extract DC Component

I am trying to extract the DC component out of a PWM signal produced by the MCU using a LPF. I understand that 1st order RC filter is looked upon as being amateurish because the gain in the passband ...
  • 21
2 votes
0 answers
60 views

Explicit formulation of the role of eigenvectors of the matrix of a linear time-invariant filter

At this point in a lecture by MIT Professor Strang the idea of gaining insight into a filter by studying its eigenvectors is introduced. The idea is clear with the example chosen in the lecture: an ...
2 votes
0 answers
207 views

Gaussian filter convolution giving unexpected results

I am trying to smooth a time series signal with a Gaussian filter and then differentiate the signal (this is for an application for edge detection). A nice property of convolution is: $$ \frac{d}{dx} \...
  • 280
2 votes
0 answers
146 views

Perfect reconstruction of 2 channel filter bank

I am studying Perfect reconstruction of 2 channel filter bank for using Biorthogonal Spline wavelet for decomposing ECG signal. I am using Wavelets and Filter Banks By Gilbert Strang, Truong Nguyen to ...
2 votes
0 answers
139 views

Gapped-signals.. How to stitch?

Dear signal processing enthusiasts: I am forced to cut off a part of a multi-frequency signal, creating a "gap" as shown in the figure. (only one frequency to simplify illustration). If I inject ...
2 votes
0 answers
448 views

Software based synchronizing of multiple data streams/sensors with slightly differing sampling rates

Situation: I try to synchronize the data streams of multiple sensors (ADXL372) of the same type but with different data output rates. The data sheet states all sensors should have the same sampling ...
2 votes
0 answers
195 views

Digital filter for sharp impulse in data

I am looking for an algorithm or a filter to remove sharp peaks from my data. I am collecting raw data after every 1 second from an sensor through an ADC. The ADC has an internal FIR filter. I use ...
  • 21
2 votes
0 answers
176 views

How to use FIR with Kaiser windows for 2D image

I am trying to use FIR filter (opensource codes from iowa hills software) as low pass filter, kaiser window, to filter 2D image. Does someone can guide me that how can I do that? I am able to obtain ...
  • 21

1
2 3 4 5
10