Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
25 views

How to reduce synthesis artifacts produced by phase vocoder?

I implemented the phase vocoder algorithm in Python to time-stretch speech signals by following this paper and referring to this MATLAB tutorial. I can distinguish words in the original signal from ...
0
votes
0answers
18 views

Methods for subtracting gravity from accelerometer data

This could feel like a repeated question, but please bear with me. In my work we want to compare different methods of subtracting gravity from an accelerometer data to decide on the better way and ...
0
votes
0answers
15 views

How does phase relate to motions in an image?

There is lots of research based on exaggerating motions by decomposing an image into complex sub-bands using pyramid representations such as the complex steerable pyramid and manipulating phase ...
0
votes
0answers
43 views

How should I modify my filter coefficients for the filter to be unaltered, when I change my sample rate

I am guessing this is a commonly encountered problem, but I am lost on how to really solve it. I have FIR filter coefficients that are used to match the frequency response of data sampled at 3 kHz. I ...
0
votes
1answer
43 views

Calculating filter coefficients of a Moving average with error correction

I have an oversampling ADC where I need to correct Gain/offset errors 'during' each conversion. This also links to my previous question - Moving average and linearization of two piecewise linear ...
1
vote
0answers
31 views

Moving average and linearization of two piecewise linear systems

I have 2 oversampling ADC's running parallelly, each to process data in a specific range of the input as shown below: Each ADC can process only half cycle range of a sine wave. Each ADC adds its own ...
1
vote
0answers
19 views

Modified Bryson-Frazier (MBF) smoother explain

I'm reading about MBF smoother on Wikipedia. I'm confused of the quantity $\hat{\lambda}_k$ and $\tilde{\lambda}_k$. What does they really mean intuitively ? Why the update formula has the form $\...
0
votes
1answer
47 views

How to get a heartbeat signal from this data?

I am giving my first steps in data analysis, gathering/cleaning. To learn, I am trying to create a simple code that can detect heartbeats from color variations from the image coming from the camera ...
0
votes
0answers
36 views

From filter diagram to state equation

How did we end up with these state variables $Z_1(n+1)$ and $Z_2(n+1)$ from the filter diagram ?
0
votes
0answers
22 views

How to move a linear block before an Integrator block?

I have the following discrete time blocks which acts as a decimation filter. My objective is to linearize the piecewise linear outputs using $O$ and $G$; the purpose of these two variables is ...
-2
votes
0answers
62 views

The non-recursive filter [closed]

An FIR digital filter of length N with impulse response ${b(n)}, n=0,1,...,N$. Therefore, the complex-valued, multiplicative function $H(f)$ is the filter's frequency response.It is defined by a ...
6
votes
2answers
92 views

For complex values, why use complex conjugate in convolution?

Taken from Adaptive Filter Theory (2014) written by Haykin page 110 : $$y(n) = \sum_{k=0}^{\infty} w_k^*u(n-k), \quad n=0,1,2,...$$ where $u$ and $w$ are complex values. My question is why use ...
0
votes
1answer
39 views

What will the impulse response of a matched filter look like if the input is complex?

If $h(t)$ is the impulse response of a filter matched to a signal $s(t)$, I read that $h(t) = ks(t_o - t)$. But what if the signal is complex? I went through the derivation of the matched filter and ...
0
votes
0answers
20 views

Determine filter type using recurrence relation

Given the recurrence relation: $y[n] = x[n] + 0.5y[n-1]$ I want to determine the filter type (i.e. LPF, HPF etc.) I try to use Z transform, and get that the the transfer function is $H(z) = \frac{2z}{...
-1
votes
0answers
10 views

How to define and use custom wavelet filters in python?

I would like to define custom analysis and synthesis filters for wavelet implementation in pyhton. How it can be cone using pywt library?
0
votes
1answer
17 views

response of LTI system to a Random Input Signal

what is LTI filter? what is the output when x(t) is input? let x(t) be the input signal to the system and y(t) denote the output signal. The output of the system may be expressed in terms of ...
1
vote
0answers
20 views

How to obtain the steady state response of the sampled periodic signal data?

Below the green plot Vin is 5Hz sine voltage signal from a function generator output sampled at 12kHz sampling rate: The blue plot Vout is the processed/filtered data by using the following code in ...
0
votes
0answers
18 views

Wide-Band Lorentzian FDTD Algorithm

I want to convert a simulated gain/absorption of a material, which can be understood as a discreet (dispersive?) function $g_i(f_i)$ ($f$ is for frequency) or $g_i(\lambda_i)$, into $\tilde g(t)$ for ...
0
votes
1answer
40 views

Sample-rate, filtering, digital-filtering and aliasing

I am strugling with a question that I hope someone can help me with. I am recording single molecule events which I detect is picoampere square deflections. I wish to use as gentle low-pass bessel ...
0
votes
0answers
32 views

Low pass filter preserving amplitude

Are there any types of low pass filters that preserve the amplitude and phase? The one that I am aware of, sometimes called an exponentially weighted moving average does neither. First order Low pass ...
0
votes
0answers
22 views

Rotation invariant vs rotation variant

I have a very basic question. We have Rotation invariant filters and filters which are not invariant to rotation. Now let us suppose I want to apply one of these filters. How can I decide which one is ...
0
votes
0answers
50 views

Sampling Frequency, Fast Fourier Transform and some strange results in python

So, I have 2 types of signals - Dirac: $\left[ 1,0,0,0,0..NumberOfSamples \right]$ and Gauss (it's sinus * window_gausian). I need to do some operation in ...
2
votes
2answers
94 views

Why does a higher sampling frequency mess up my bandpass filter?

I was designing a bandpass filter in python using some of the scipy.signal modules. I am plotting the frequency response of my filter to verify that my desired frequency is in the passband. However, ...
0
votes
1answer
26 views

What is the filter to get a heavy metal film ilustration?

How I can transform an image to get a same image style like the Heavy Metal film?. I remember that I could read a paper about this, but I lost it.
1
vote
1answer
53 views

Explanation of FIR and IIR Filters with Simple Words

It seems I am unable to understand how these filters work and what is the point of using them, no matter how many tutorials I watched. Could someone please explain, in simple words, what FIR and IIR ...
1
vote
1answer
54 views

how can I design Chebyshev filter with 5th-order polynomial and 0.001%-allowed ripples?

I'm very beginner in signal processing. I need to design a Chebyshev filter with 5th-order polynomial and 0.001%-allowed ripples by using matlab as I found in a paper. I'm filtering pressure data ...
3
votes
1answer
48 views

Is it possible to design a band-pass filter with fewer taps than a series HPF + LPF?

I am digitally filtering a signal that is streaming live. The goal is to reduce the filter delay as much as possible while maintaining the quality of some measurements based on the filtered signal. ...
0
votes
0answers
52 views

How to set sigmas and kernels for 3D-Laplacian of Gaussian filters to blob detection in Matlab?

I have written code according to a paper for Lung CT images, but its output wasn't correct. I think it is because of the setting of its parameters. The paper is about a multi-scale method using a ...
1
vote
2answers
37 views

What version of sinc function to use ? (With additional factor of $\pi$ or not.)

I have an exam tomorrow on Signal Processing and one of the questions can go two ways: Use a Hamming window to design an Nth th order (N+1 tap) band pass FIR filter with a pass-band between $f_0$-$...
0
votes
1answer
45 views

How to filter an OFDM signal? [closed]

Across the channel bandwidth there shoudd be 100 RBs (central 1200 sub carriers in a 2048 bin). Max power normalized to 0dB, the first OOB lobe should be -34dB. This 1st lobe on either side is at 5 ...
1
vote
1answer
50 views

Detecting phase difference between a clean and a noisy signal

I have a clean square-wave signal and a noisy signal from an accelerometer, perfectly synchronized to each-other but out of phase. I want to find the phase difference between them in real time, in ...
1
vote
1answer
103 views

Why shouldn't the magnitude of a practically realizable frequency selective filter be constant for a range of frequencies?

According to Paley-Wiener theorem, a practically realizable frequency selective filter shouldn't have a constant magnitude for a range of frequencies. Why is this so? How do we prove and understand it?...
-1
votes
1answer
25 views

integral filter

Assume we have a time domain signal: s(i), i=1:N. To apply a derivative filter to it, i.e. D*s, where ...
4
votes
3answers
313 views

Why is it easier to design an IIR filter in the continuous time domain than in the discrete time domain?

Given that the goal is to approximate the ideal filter with an IIR filter, why would it be easier to design it in the continuous time domain than the discrete? This paper says: Discrete time ...
0
votes
2answers
41 views

What should be the cut off frequency of a Filter operating on an OFDM signal?

I have a time domain OFDM signal and to this I need to apply different linear filter however I am not sure on the cut off frequency. I am simulating for multiple symbols where each symbol has 1200 ...
0
votes
1answer
30 views

How to use the iircomb filter in matlab

I have a sound file that needs filtering which looks like this: Hence I think that I have noise spaced equally at 832Hz. i tried to use the iircomb filter taken from mathworks website and i managed ...
0
votes
1answer
27 views

Root raised cosine parameter

I try to create matched filter for receive BPSK signal. Sampling rate of the signal is 228000 Hz, data rate 1187.5 symbols/sec, signal was shaped using root raised cosine filter with rolloff factor = ...
3
votes
1answer
104 views

What exactly is Savitzky-Golay differentiation filter?

I could understand Savitzky-Golay filter as being smoothing filter, but then there also seems to be Savitzky-Golay differentiation filter, though for some reason, details do not seem to be clear. So ...
0
votes
1answer
16 views

Why do cutoff frequencies of a high-pass digital filter differ from the ones i used to transform it from a low-pass analog filter in MATLAB?

I need to transform an elliptic analog low-pass filter to a digital high-pass filter but i'm having a problem because the resulting filter has lower cutoff frequencies than the ones i set. Here is the ...
0
votes
1answer
31 views

Using Parks-Mcclellan (or others) for FIR differentiator?

I have never seen the use of Parks-Mcclellan for differentiator - most uses tend to be lowpass filters. Is this because Parks-Mcclellan implementation of FIR differentiator has numerical problems and ...
0
votes
0answers
15 views

Correspondence between spatial frequency and pixel position

I have a very basic image processing question for which I have not been able to find an answer so far: On several occasions I have encountered descriptions of image filters given in the frequency ...
1
vote
1answer
37 views

Determine poles and zeros of a specific filter design

I have a design question and need to determine poles-zeros of a IIR bandpass filter. Requirements are: 1-order should be 3 2-causal 3-real valued impulse response 4-stable 5-cutoff freq: pi/3-pi/...
0
votes
1answer
107 views

Compute time constant of discrete exponential decay pulses

I want to retrieve (within a FPGA) the time constant $\tau$ of incoming pulses of the form $$x[n]=Ae^{-n/\tau}u[n]+C$$ In addition to the offset, inputs are subject to noise. To measure the integral ...
0
votes
2answers
30 views

Relation between order and stability in IIR filter

What is the effect of increasing order of IIR filter? does it also effects stability? If we have an IIR filter of order 6, now we change its order to 7, will there be any change in its stability?
0
votes
0answers
9 views

time-frequency masking with shared properties between vector masks

I am working on a source separation problem and I have a logical mask that when applied to the STFT matrix, gives me expected results. The problem here, is that the mask is based on a spectral feature,...
0
votes
1answer
11 views

What is Multi-band response?

What is meaning of multi band response? I have already tried reading filters texts but no help. How it is different from simple band pass or band stop
0
votes
1answer
119 views

Compute group delay of an audio file from STFT

I'd like to reproduce results from this paper in which the authors used Group Delay-grams as an input to the Machine Learning model. The Machine Learning side is not the one that I have problems with. ...
0
votes
2answers
84 views

How to graph magnitude plots for basic 4-pole filters?

I have developed magnitude plots for basic one-pole and two-pole filters derived from various Physics PDF's and tutorials I have found online and calculated from: https://www.desmos.com/calculator/...
1
vote
0answers
57 views

The Definition of Q Factor by an Equation and How to Graph

I am currently building an EQ in an music app, and it's relatively simple: 6 bands of fixed center frequency, and a Q knob to control the Q of all bands, because we do not currently have space for ...
0
votes
1answer
115 views

Why does my low pass filter diverge below 7000 Hz?

I'm trying to create a LPF, using language JAVA. My first aim is to understand how filters design is working and the second one is to create a "home made" equalizer with "home made" filters. To help ...