# 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.

2,014 questions
Filter by
Sorted by
Tagged with
19 views

### Wavelets: Reconstruction Filters for 2 Level Decomposition

I am trying to understand the reconstruction part after discrete wavelet decomposition and how do we get approximations and details at various levels. Most textbooks show the complete reconstruction ...
43 views

### When is a discrete time transfer function unrealizable?

I don't understand why the following makes sense: Given a second-order mass damper system in continuous time: $H(s) = \frac{1}{ms^{2}+cs}$ Its inverse $H^{-1}(s)$ is unrealizable as a transfer ...
21 views

### Design of second order low pass filter using passive RC components and opamp

I have an RC low pass filter connected to the non inverting terminal of the opamp. There is a feedback resistor from output of opamp to its inverting pin.Then an RC low pass filter is placed at the ...
99 views

### is y[n] = x[n] + n time invariant?

My steps were as follows: $\ x_2[n] = x[n-k]$ $\ y[n-k] = x[n-k] + (n-k)$ and $\ y_2[n] = x_2[n] + n = x[n-k]+(n-k)$ Does this mean that it is indeed time invariant?
41 views

### Is there a relation between the dead zone of sigma delta modulator and filter order?

This question refers to the link https://pure.tue.nl/ws/portalfiles/portal/1546321/521243.pdf. In chapter 4 it discusses the topic of dead zone, which appears in the delta sigma modulator. Dead zone ...
41 views

### Transfer function given as z-Domain fraction: gain calculation

I am stuck on a question regarding transfer functions. I have the answer and have attempted the question but am having trouble solving it. Q: Given the transfer function of a digital filter is (5z-5)/...
7 views

### For UWB pulse shaped transmission , how do i plot BER versus SNR ratio in matlab? [closed]

The above question is related to UWB pulse shaping and the calculation of BER and SNR.
27 views

### FFT response for noisy signal, averaging the response and

I try to analyze a system's state with acceleration sensors by measuring the frequencies and amplitudes. Since a cheap sensor is used, I have a noisy signal in the beginning (up to 40Hz - see below). ...
335 views

### Help with my first (simple) Z-transform

I need to transform this Laplace function to the z-domain: From the answer I received: $s=(1-z^{−1})/T$ Then substitution into my Laplace function would give: $t(z) = 2R/(m*(1-z^{−1})/T + 2R)$ Is ...
48 views

### Meaningful output of FIR filter output

I have implemented FIR filter using tapped delay line method. I start getting output as soon as first input sample is passed to it, I am wondering from which sample I will get the proper output(...
32 views

### Extra frequencies after applying low pass filter

I used Python/scipy to create an input data (sinewave with frequencies {600,1200,1800,2400,...,9000}) and sampling at 10000Hz. A lowpass filter is created using butter(10, 4000/(10000/2), 10000, btype=...
32 views

### Python resampling and filtering question

Intro Hi I'm looking for someone with some experience to walk me through some questions I have regarding resampling (downsampling) in Python. Here is my problem: I have accelerometer data that comes ...
61 views

### Why is my filter unstable and self-oscillating in this case?

I am using resonant bandpasses to simulate modes of guitar/piano strings for audio synthesis. While attempting to introduce coupling effects I have encountered a problem. I will illustrate with some ...
51 views

### How do I convert this simple Laplace equation to Z-domain?

A basic model of coupled strings (eg. piano) is provided here as: The principle is that it has two identical string simulations each formed by a delay line and LPF. The outputs of these are summed at ...
37 views

### How is time or sampling rate accounted for in this model?

A basic model of coupled strings (eg. piano) is provided here as: The principle is that it has two identical string simulations each formed by a delay line and LPF. The outputs of these are summed at ...
35 views

### Creating a combination of extrusion to a point, and motion blur

I am attempting to generate a effect that allows me to use original color of image, but also mimic a pinched extruded 3d surface from orthographic view. To do this, I used the G'MIC-QT scripting ...
70 views

### downsample signal to a specific number of samples in Python

The Python Scipy library provides several functions to downsample signals, but they all have limitations: The resample function is based on Fourier method, which means it assumes periodic signals. ...
97 views

### How to use a FIR on a signal with a drifting central frequency?

I have been working on this subject for a while and I couldn't get a proper answer. I am trying to estimate the phase of the input signal : $x(t)=Ae^{j(at^2+bt+c)}+n(t)+i(t)$ Where $n(t)$ is a ...
24 views

### Applying a 2D band pass filter (Butterworth ?) to an array with NaNs

I am trying to filter out the low frequencies of an array looking like this : For now, I am taking transects of this array and applying a 1D - butterworth band pass filter : ...
10 views

### Is there a way to get output in second order sections (SOS) format from Scipy's signal.firwin

I am using Scipy's signal.firwin to implement a lowpass filter. Using the rule of thumb formula(s) to estimate the order of the filter, I am getting a very high number. I looked into this question, ...
52 views

### how a signal for which calculate RMS can be filtered and have a fast settling time?

i designed a sinusoidal pwm amplifier (3KHz to 20KHz) that regulates its output voltage reading the RMS value of output current. The RMS is obtained squaring the signal sampled by AD converter @...
112 views

### 2D convolution of image with filter as successive 1D convolutions

I want to prove (or more precisely experiment with) the idea that a 2D convoltion as produced by the Matlab conv2() function between an image I (2D matrix) and a kernel (smaller 2D matrix) can be ...
29 views

### Detect playback position in swept sine sweep

I am wondering what the most precise method is to detect the playback sample position of a sine sweep? The real playback sample position is unknown and an DSP with constraint computing capabilities ...
16 views

### DFT of a function and array convolution

I saw some questions (and answers) on this subject, but they were all about a specific example and I'm not sure I understood. I'm trying to understand the meaning of computing the DFT of an array ...
38 views

### Generating Kawase Blur Kernels to Approximate a Gaussian Blur on an Image

Is there an algorithm to generate the Kawase Blur Kernels to approximate the actual Gaussian Blur (of a specific kernel size, and if possible, a sigma)?
513 views

### Number of taps needed in an FIR filter to remove DC

An FIR filter is being used to remove the DC of an ECG. The sampling rate is 500Hz. How many taps would said FIR filter require (theoretically and practically) to filter out the DC. P.S. the filter ...
32 views

### SciPy Lfilter issue

For one of my DSP projects, I decided to use python to perform signal processing. While I am new to python, I understand that it is a very powerful and versatile language. For my processing, I opted ...
25 views

### Phase response in a filter for an Audio Application

Should I be concerned with the group phase delay which a filter produces? Especially in an audio application? Should I aim at using a linear phase delay filter for example?
64 views

### Understanding the Bilateral Filter - Neighbors and Sigma

I have been reading about the Bilateral Filter in - Fast Bilateral Filtering for the Display of High Dynamic- Range Images and have felt crippled and confused while understanding its working and the ...
71 views

### How to reliably compute the group delay of a comb filter

I applied the following FIR comb filter in real-time: y[n]=x[n]-x[n-40] Since this is an FIR, the group delay is D=(N-1)/2=20 samples. After applying the filter ...
20 views

### decouple signal from environmental effect

Sensor signal depends on environmental factors such as temperature, relative humidity. Temperature compensation is relatively straightforward. But I am not entirely sure how to model the effect of ...
62 views

Is there a mathematical approach to initializing an IIR filter so that turn-on transients are minimized? Background: I have a high pass Butterworth design that overloads at the start of a sine wave ...
45 views

### FIR filter format - Brutefir - Volumio

I am trying to compensate for the high frequency droop of a TDA1543 based nos DAC. One straightforward method is described here. Having played the resulting .wav, ...
25 views

### Using an IMU for gravimetry and calculation of gravity anomalies

I am currently working on a project which seeks to utilize a tri-axial IMU to measure gravity anomalies caused by density variations in planetary crusts. The instrument will be attached to a Helikite ...
60 views

### Is there any difference in Implementing sigma delta modulator using filters and state space model in FPGA?

Sigma delta modulation is extensively used in quantization to reduce quantization noise. In the literature one can see different architecture for example python-deltasigma to implement a modulator. ...
74 views

### why do directional derivatives work better with a gaussian filter?

I've been working on image segmentation and computing the directional derivatives of a grey-scaled image, with the objective of detecting contours and edges. I have realised that if I apply a gaussian ...
32 views

### Fuse two sources of linear acceleration with a Kalman filter

How would I fuse two different sources of linear acceleration with a Kalman filter (perhaps linear acceleration readings from an IMU and from a dedicated accelerometer)? My state is defined by ...
27 views

### What exactly is stored in “output” variable in the FIR Filter code below? [duplicate]

What exactly is stored in "output" variable in the FIR Filter code below? ...
115 views

### Why ideal filter cannot realised practically?

I know the difference between ideal and practical filterI just wanted to know why it not realisable?
61 views

### What are the limitations of FIR filters?

I know that for type II FIR filter it adds a zero at $z=-1$ so it cannot design a high-pass filter. My question: what type of limitations the other types have (type I, III, IV)?
36 views

### What exactly is stored in the buffer array in the code below? Is it the values of x[n-k] or something else?

What exactly is stored in the buffer array in the FIR Filter code below? Is it the values of x[n-k] or something else? ...
45 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 ...
57 views

### Reconstruction of sampled band-pass signal

I am pretty new to signal processing. I am currently trying to reconstruct a sampled band-pass signal created with the filtfilt and ...
38 views

### Magnitude and phase response and cut-off frequency of a moving average filter

The frequency response of a typical moving average filter of length $N$ is given by $H(\omega)=\frac{1}{N}\frac{\sin(\omega N/2) e^{-j \omega ((N-1)/2)}}{\sin(\omega/2)}$. Firstly, isn't the cut off ...
15 views

### Is there a way to filter out low volume content in an audio sample?

Imagine you are listening to a digital file that contains some random speech. Now, while you are listening to it, you also hear in the background (spatially) some low volume content, either noise, ...
88 views

### Use recursive least square as an “actual” filter?

I am currently studying recursive least square (RLS) and as far as I understand, the setup is (for example) that we are given a process with uncertain parameters/noise and we want to adapt parameters ...
44 views

### Impulse response of an infinite-length system

I have a system which is expressed as following: y[n] + $\alpha$ y[n-N] = x[n] where y is the output and x is the input. When I take the z-transform of both sides, I've found the transfer function ...
65 views

### KalmanFilter EM estimation of covariances

The question might be very simple, but I get a strange result from Kalman Filter. Let us consider the simplest state-space model, the random walk plus noise:  y_{t} = x_{t} + \varepsilon_{t}\\ x_{t} ...