The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [filtering]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
11k views

How are two signals multiplied? And how is it different from convolving two signals?

Suppose that I have two signals $x[n] = \left\{2,4,1\right\}$ and $p[n] = \left\{5,1,8\right\}$ and I want to multiply them. How do you do that? How different is it from convolving two signals? I ...
7
votes
1answer
755 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 ...
11
votes
2answers
14k views

Given Position Measurements, How to Estimate Velocity and Acceleration

This is simple i thought, but my naive approach led to a very noisy result. I have this sample times and positions in a file named t_angle.txt: ...
11
votes
3answers
10k views

Can we have a Digital Anti Aliasing filter?

I am working on a board that has no antialisaing filter at the input of the ADC. I have option to I implement my own filter using RC + Opamp circuit. But is it also possible to implement Anti ...
2
votes
1answer
2k views

Derive velocity and acceleration from position

I generate random spike data that represent the ouput from a rotary encoder. Here the output of my algorithm: The first plot is position, then velocity and then acceleration. Even though I downsample ...
2
votes
2answers
789 views

Strange noises when filtering audio signal

I am using Naudio open source library and I am trying to do some simple filtering. The problem is that I hear some "clicks", not too loud. The library offers me the possibility to use at least two ...
16
votes
3answers
32k views

What is the difference between linear and non-linear filters?

How a mean filter is called as linear filter and a median filter is called as non linear filter? I understand how a mean and median filter operates, but I was not able to relate with the term linear ...
10
votes
1answer
2k views

Approximating the frequency response of a median filter

A median filter is a non-linear and lossy process, so it doesn't have a closed form frequency response as would a FIR filter (say a box filter of the same length) in an LTI system. But how closely ...
4
votes
1answer
5k views

Simple software low pass filter

I am measuring voltages and currents of a 3-phase electrical machine and I need to calculate the power. Every interrupt (frequency between 30-70kHz) I get values (voltages, currents) from analogue-...
3
votes
2answers
3k views

Detecting & Removing steps in signal

Given the signal shown below, what is the best way to remove the steps and local maximas it contains. The signal contains some steps which can last up to 100 Samples before they return to about the ...
1
vote
2answers
547 views

FIR filters: direct form / transposed FIR

I am learning about FIR filters and I'm confused. I am trying to find out different types of FIR filters. Is direct form and n-tap FIR filter the same? What does transposed FIR filter do?
3
votes
4answers
1k views

Does a filter add oscillations to a signal?

this is a more general version of a question which i asked previously. From what I understand, the purpose of a filter is to change the amplitude of a specific frequency band. As I went through the ...
2
votes
2answers
364 views

Filtering Frequency Bands Out of a Signal

Let's say I have a 2 second data set taken at 220Hz sample rate and I would like to filter out the frequency bands associated with the EEG Spectrum: $$\begin{align} \Delta:& [1,3]\text{ Hz}\\ \...
2
votes
2answers
4k views

Root mean square bandwidth of a signal with flat spectrum

I am trying to derive a simple expression for root-mean-square bandwidth $B_{\rm rms}$ for a signal that has flat spectral density over its entire bandwidth $B$. The expression for the $B_{\rm rms}$ ...
2
votes
3answers
1k views

Other techniques like overlap save/overlap add

I know overlap save and overlap add are used for long data sequence filtering. Are there any other similar or better techniques like these?
0
votes
1answer
53 views

What is the difference between domain and range filtering?

In the context of image processing, I have heard the expressions "domain filtering" and "range filtering". What do these terms refer to? What is the difference between them?
0
votes
2answers
410 views

Apply Singular Value Decomposition on Gabor filters

According to my question in this link, I applied (with a big help from lennon310) the separability of Gabor filters of any orientation. The only disadvantage of this method is the convolution in the ...
0
votes
1answer
325 views

How to find analytic description of filtered signal

I am looking for an exact analytic description of a filtered signal. I have an electronic circuit whose input is a monoexponential decay. First (1) the signal gets filtered by a simple RC-Lowpass. ...