Questions tagged [filtering]

The tag has no usage guidance.

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

STFT overlap add method - What am i doing wrong?

i am trying to implement a short time fourier transform of an audio signal to do some filtering (subtract another stft signal using spectral subtraction). I am using a hamming window function with 50% ...
3
votes
1answer
108 views

Use samples of Fourier transform as DFT?

Consider the LTI system given by: $H(z) = 1 - \frac{1}{2}z^{-1}+\frac{3}{4}z^{-2}$ Let $x[n] = (\frac{1}{2})^nu[n]$ be the input to the system. We want to find the output for $n = 0,1,...,N_a$, using ...
2
votes
0answers
31 views

How does the “additive operator splitting” exactly work?

I am reading about the non-linear (or non-homogenous) diffusion method (aka anistropic diffusion method). There are several ways of implementing this method. In all cases, we first need to discretise ...
2
votes
0answers
102 views

Use of an impulse-response system to model sediment transport along a river reach

I am new to signal processing and have come into the subject from the study of rivers and basic geophysics. I am trying to test an idea previously put forward that the sediment transport response of ...
2
votes
0answers
39 views

Filtering for Wright-Fisher HMM

I am trying to understand what filter may be suitable for the following HMM: The signal is a Wright-Fisher one-dimensional diffusion characterised by the SDE $$dX_{t}=\frac{1}{2}\left(\alpha(1-x)-\...
2
votes
0answers
80 views

maching convolution filters to results

I am practicing for an exam and I need help in the following question (it is just for me- no grade...) we get an input image, 6 convolution filters and 6 results. we need to find the matches between ...
2
votes
0answers
126 views

Open source GPS+IMU sensor fusion?

Are there any Open source implementations of GPS+IMU sensor fusion (loosely coupled; i.e. using GPS module output and 9 degree of freedom IMU sensors)? -- kalman filtering based or otherwise I see a ...
2
votes
2answers
294 views

Anisotropic Diffusion Filter - Intuition Behind Parameters

I need to know what is iteration and divergence in anisotropic diffusion filter technique. Isotropic diffusion $$\frac{\partial I(x, y, z)}{\partial t}={\rm div}\left[c\cdot \nabla I\left(x, y, ...
1
vote
0answers
42 views

Noise Reduction: How can I filter out saw or other tool noises?

I recently came across old recording from the 1930's. Unfortunately not only is the quality low, it's a bunch of carpenters talking as they saw things and make all sorts of other noises. I've tried: ...
1
vote
1answer
121 views

How to calculate the Fourier transform of a mean filter in Matlab?

In Matlab, how can I calculate the discrete-space Fourier transform of a mean which takes the average of 4 adjacent points, with this kernel $$\begin{pmatrix} 0 &1& 0\\ 1 &0&...
1
vote
0answers
38 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 ...
1
vote
2answers
1k views

What is the difference between the sampling frequency of signal and sampling frequency of filter

I believe that there is no connection between the sampling frequency used for converting an analogue filter to digital filter and the one used to sample a signal that the filter will be used on. But I ...
1
vote
1answer
193 views

Real-time oscillation-like noise filtering

I am making real-time measurements, which are affected by some noise. This noise has oscillating pattern, i.e. the total signal tends to oscillate around the mean value. The examples of measurements ...
1
vote
0answers
71 views

Processing digital sound in Audiokit to sound like the 1960's

I am looking to imitate 70's analog equipments sound. I was wondering is there a way to create tape saturation / distortion inside Audiokit? I want to add that and randomized tape crackles and ...
1
vote
0answers
118 views

Electromyography: is this interference from the heart/how to remove it?

I'm using electromyography to evaluate the activity of lumbar erector spinae at various levels of effort. For this I also intend to sample the activity at complete rest (in prone lying). In my first ...
1
vote
0answers
36 views

Multitapering in time domain to obtain smoother filtered signals?

Suppose we want to approximate the instantaneous power $z(n) = |y(n)|^2$ of the discrete-time signal $y(n)$, where $y(n)$ is the result of filtering $x(n)$ with a given window $h(n)$, $y(n) = x(n) \...
1
vote
0answers
87 views

Fastest way to subtract known music tracks from live videogame audio stream

I want to isolate video game "action" sounds from the video game soundtrack. Given all ~20 songs, I'd like to filter them out from any live audio stream during gameplay. What is a fast and robust way ...
1
vote
1answer
443 views

Bandpass filtering an audio signal with MATLAB's $\tt kaiserord$: unknown new frequency component

I am trying to filter an audio signal with kaiserord in MATLAB, but I'm having a problem. Here is my code: ...
1
vote
0answers
28 views

How do I smooth-over transition from a time-series generated by one system to a time-series generated by another system?

So I have generated a time-series with length on 2N samples, where the first N are generated by one auto-regressive system and the N+1 to 2N are generated by another, similar, auto-regressive system. ...
1
vote
0answers
41 views

Proximal operator of image Laplacian

Let $\alpha, \beta > 0$ and $\Delta := \nabla^T \nabla$ be the discrete laplacian operator, $$\nabla: \mathbb{R}^{n_x \times n_y \times n_z} \rightarrow \mathbb{R}^{3 \times n_x \times n_y \times ...
1
vote
0answers
1k views

Implementing a 2d butterworth filter for image processing?

I am at the moment trying to implement a bandpass butter worth filter which i then can use to apply on my original image. Problem is though My implementation of it using OpenCV doesn't seem to be ...
1
vote
2answers
589 views

Discrete Sinusoidal to State Space

I'm looking to apply an optimal LQR filter to a discrete signal of the form $x[n]=A\sin[\omega_0n + \phi]+ v[n]$ The amplitude $A$ and the phase $\phi$ are unknown variables I want to estimate using ...
1
vote
0answers
148 views

amplitude compensation after filtering and mixing audio

I am working on a mixer which lets me mix dry and wet signal in a user defined ratio. Wet signal is basically just the all pass filtered signal. The mixing takes place in frequency domain and so does ...
1
vote
0answers
124 views

Fractional equalizer with non-integer oversampled signal as input

I would like to know how the output sequence from a fractionally spaced equalizer, with a non-integer oversampled input signal, is generated. For example, for $T=T_{sym}/2$, my actual code is ...
1
vote
0answers
872 views

Instantaneous power estimation by discrete hilbert transform - how far does it smooth?

In my research area, instantaneous power in a specific frequency band is commonly estimated by the following procedure: Apply a bandpass filter on the raw signal (e.g. 80-90Hz bandpass). Estimate ...
0
votes
1answer
11 views

Continuous time double exponential filtering in state space form?

I'm trying to determine the continuous time formulation of the double exponential filter so that I can adapt it more flexibly for my particular problem. Typically, this model is expressed as a pair ...
0
votes
0answers
14 views

Differentiating high frequencies if a signal

I have a power signal (in dBm) which contains lots of peaks (around -80 dBm) and most of the time is around -110 dBm which we can call it noise level (obviously with fluctuations). As you know, both ...
0
votes
0answers
11 views

remove \ minimize first side lobe ringing artifacts due to data truncation

I have a truncated data set that I need to transform, for example: ...
0
votes
0answers
20 views

Fusing like data from multiple sensors using kalman filter

I'm new to kalman filters and filtering, and I'm working on a personal project where I have multiple readings all providing the same data (3d position in space, provided via computer vision algorithms)...
0
votes
1answer
13 views

Comparisons of FIR Causal filters of type HRIR in Discrete Time and Frequency Domains

I have just implemented a Discrete Time Convolution between HRIR filter at a range of angles. I also implemented an Overlalp-and-Add method and FFT and IFFT to compute the same convolution in ...
0
votes
0answers
16 views

Looking for a analytical formula to compute the central frequency of a signal analyzed by a discrete wavelet at a given scale

I am reading this paper by Han et al. (2014). In this article, the authors extract detailed information from geomagnetic data sampled at 1Hz using a daubechies 5 (db5) wavelet: they reconstruct the ...
0
votes
1answer
82 views

How the zero - phase filter without filtered signal truncation at the end can be implemented?

I mean what for the window FIR filter the filtered signal is truncated at the end because impulse response of the filter is symmetric. For example the code from here (in python) (lowpass FIR filter) ...
0
votes
0answers
26 views

Applying a filter on an input sequence in matlab

Given a input sequence $x = {x_1, ... x_n}$ and a filter with l elements $h = [h_1, ..., h_l]$ with l < n. We want to filter the input sequence with the specified filter. My first thought was to ...
0
votes
0answers
27 views

how to do supervised NMF source separation?

I know how NMF works by itself (unsupervised), but I am now interested in learning how it works in the supervised way. Suppose I have a clean isolated time domain signal of about 3 seconds in length ...
0
votes
1answer
94 views

Manual filter or digital filter first for EEG?

I am getting conflicting advise regarding how to clean my EEG data: 1) Manually remove artefacts first and then apply digital filters OR 2) Apply digital filters first and then manually remove ...
0
votes
0answers
65 views

How to filter a sequence of frames?

I'm have a sequence of 2-dimensional MxN frames. I have concatenated these frames to form a 3-dimensional MxNxT matrix. Now i want to filter this 3D volume by 2 types of filters (a 2D log-Gabor in xy-...
0
votes
1answer
108 views

Remove high resolution spurious peaks from sinusoidal signal

I have the current from a LEM transducer measured. The measurement is taken on the output of a transformer. The signal is a 50 Hz signal, measured at 100kHz. When the demand of the system is increased ...
0
votes
0answers
189 views

How to include phase noise in sinusoidal kalman filter model?

I am modelling simple sinusoidal motion using a Kalman filter from the following equation of motion: $ \ddot{x} = -\omega^2x $ So my matrix equation of motion is: $$ \begin{bmatrix} \dot{x} \\ \...
0
votes
0answers
255 views

Prediction-error filter for images

I am interested in studying local pixel value dependencies in images and I am wondering if it exists a general form of prediction-error convolutional filter that is able to suppress the image's ...
0
votes
2answers
222 views

Easy way to get rid of noise in a hand drawing

I would like to take a user's hand drawn input, and filter out "noise", aka small sketches or blobs, where the user might have screwed up and accidentally touched his hand to the drawing device, or ...
0
votes
0answers
1k views

Median Filter for salt and pepper noise removal

Why median filter is considered as good for removal of salt and pepper noise? What are the other filters used for the same?
0
votes
0answers
406 views

What is Single pole filter?

Can anybody tell me why do we use single pole filter? And may be an example of Single pole filter in matlab. Good literature recommendations are also welcomed.Moreover, that would be good if anyone ...
0
votes
0answers
27 views

If a signal is added to another in the freq. domain, how to filter it out?

I have two signals, $x$ and $y$. I know that $F(x)=F(s)+F(n)$ and $F(y)=F(n)$, where $s$ is the 'clean' signal, $n$ is the added noise and $F$ donate Fourier Transform. To obtain the clean signal, I ...
0
votes
0answers
554 views

What is pulse train filter?

I have recently seen some code written in modelling tool like Simulink, ASCET which uses PT1 filter? Why do we use a pulse train filter? What is the difference between FIR, IIR, Chebyschev, ...
0
votes
0answers
166 views

MATLAB, recover a signal that has a cosinusoidal interference and that has been AM modulated

I have a signal which has been AM modulated but the channel also added a cosinusoidal interference A cos(2 * Pi * f0 * n * Tc + Phase), at the same ...
0
votes
0answers
155 views

Adaptive Line noise removal using IIR notch filters

I'm trying to filter out line noise(60Hz and 120Hz) from a EEG signals received over a bluetooth link. I'm proposing to use a IIR notch filter to filter out the line-noise which varies w.r.t to ...
0
votes
0answers
132 views

Band-pass filtering on whole signal or overlapping chunks?

I am working with a signal acquired by a pulse oximeter, i.e. a device that records the change of light intensity reflected by a specific tissue depending on its blood perfusion. Since I am interest ...
0
votes
0answers
113 views

Any way to compensate for fractional delay filter's weakness between taps?

A little background: I have an FPGA (running at 200MHz) that I am creating multipath events using buffers, all of that works. I take RF, mix down to IF, sample, make adjustments, out the DAC, and ...
0
votes
0answers
79 views
0
votes
0answers
140 views

Relationship between fractional delay coefficients and frequency?

Some background: I am putting a sig-gen signal through an ADC, into an FPGA where I can modify it, out a DAC and up to a SpecAn. All that works fine. I am experimenting with fractional delay filters,...