Questions tagged [lowpass-filter]

A low-pass filter is an electronic filter that passes low-frequency signals but attenuates signals with frequencies higher than the cutoff frequency.

Filter by
Sorted by
Tagged with
5
votes
2answers
16k views

Transfer function of second order notch filter

Can anyone mention the transfer function of second order notch filter to remove the line frequency of 50 Hz, in terms of frequency and sampling rate. Just like for Low pass Butterworth filter as, $$ ...
5
votes
1answer
647 views

Fast Integer 8 Hz 2nd Order LP for Microcontroller

I need an 8 Hz 2nd order LP filter. It does not have to be terribly accurate but it should be 2nd order-ish. Performance is much more important. My sample rate at the moment is ~9.5 kHz. The filter ...
2
votes
2answers
545 views

What is the name of these simple filter algorithms?

I found some snippets of code on the internet that are really simple signal filters. Unfortunately there wasn't much info to back it up. Using Google I've found similar code, but none of it backed up ...
8
votes
2answers
658 views

Filtering of streaming audio

Given something like 103 data points ($N=103$), a DFT will give back 103 frequency values. Then to do something like filtering the high frequencies involves setting the high frequency values from the ...
2
votes
1answer
2k views

Single-pole IIR low-pass filter - which is the correct formula for the decay coefficient?

A single-pole IIR low-pass filter can be defined in discrete time as y += a * (x - y), where y is the output sample, ...
8
votes
2answers
4k views

Why would one use a Hann or Bartlett window?

Suppose we're designing a low-pass FIR filter, and I want to use one of these three windows: Bartlett, Hann or Hamming. From Oppenheim & Schafer's Discrete-Time Signal Processing, 2nd Ed, p. 471:} ...
0
votes
2answers
422 views

my Butterworth lowpass formulas do not agree with Fisher webpage

I want to implement Butterworth low-pass filter. Thanks to this question, I have found out that the filter coefficients can be generated using Tony Fisher web-site or using his code. But the problem ...
3
votes
2answers
9k views

Savitzky-Golay filter parameters

I am trying to smooth a series of data in order to obtain a continuous function that could represent that given data set. It came out that the Savitzky-Golay method could be a good way. Now, I don't ...
2
votes
5answers
4k views

How to design very narrow band, very sharp low pass filters - Only DC needed?

I am using a DSP processor to sample signals at 108kHz and I only want to get the DC part out of it. Such a high sampling rate is used because I want to use oversampling to reduce quantization noises. ...
4
votes
1answer
146 views

2-d circularly symmetric low-pass filter

For a square pixel grid, the ideal 2-d low-pass filter with a horizontal and a vertical cut-off angular frequency $\omega_c$ in radians has an impulse response (kernel) $h_{\small\square}(x, y)$ that ...
3
votes
1answer
256 views

Frequency response of $\mathrm{sinc}[n]$

In this image the frequency response of a discrete time filter given as $h[n]$. Can someone explain how the magnitude of the frequency response is found ?
3
votes
3answers
569 views

What is the name of this digital low pass filter?

I found this digital filter in code I am working on. It is a low pass filter. In the code it is called an "alpha filter", but it is not the same as the alpha filter mentioned here. I post the ...
2
votes
1answer
316 views

Design Lowpass Filter With -7.5 dB/Octave Rolloff

I am working on a project that needs a lowpass filter with a -7.5 dB/Octave rolloff. This is somewhere between the rolloff of a one-pole and two-pole filter, so I wanted to ask what some standard ...
0
votes
1answer
2k views

once again,confusion between phase and group delay [duplicate]

Despite,reading up on this I'm unable to find crystal clear clarity on the differences b/w phase and grpdelay functions and interpretation of grpdelay's output. I have designed a low pass butterworth ...
2
votes
2answers
788 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 ...
1
vote
0answers
132 views

Issue with the Massberg Analog-Matched Low Pass Filter

Implemented the filter mentioned in title using Octave and couple sources Vicanek and Zeitlin (LPF.cpp). Got filter working otherwise but, ... when tested the responses against 'analog model' of the ...
0
votes
1answer
56 views

Find Magnitude Responce at $\omega=\dfrac{\pi}{2M}$ where $M$ is the number of channel in QMF

I have frequency response of low pass filter ...
23
votes
1answer
47k views

low pass filter and FFT for beginners with Python

I am new to signal processing and especially to FFT, hence I am not sure if I am doing the correct thing here and I am a bit confused with the result. I have a discrete real function (measurement ...
14
votes
2answers
6k views

Differences between filtering and polynomial regression smoothing?

What are the differences between classical low-pass filtering (with an IIR or FIR), and "smoothing" by localized Nth degree polynomial regression and/or interpolation (in the case of upsampling), ...
3
votes
5answers
16k views

matlab How to design lpf\bpf\hpf without builtin functions

related to Filtering voice signal from randomly added frequencies I'm trying to create a simple low pass filter but i'm not sure what is wrong. my code: ...
3
votes
2answers
10k views

Difference Between Equiripple & Least Squares Design for FIR Digital Filters

For an efficient and optimized digital FIR filter design, there are two methods available broadly, Equiripple filter design & Least Squares filter design. A general method for designing a filter ...
2
votes
1answer
3k views

Cutoff frequency of a first order recursive filter

I've implemented a very simple first order recursive low pass filter in c using the algorithm: ...
4
votes
1answer
1k 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 ...
4
votes
4answers
3k views

Removing values from FFT result same as filtering?

I don't quite understand why the textbooks say it is impossible to implement an ideal low pass filter. If I was to take the FFT of a discrete signal x[n], with Matlab's fft function I'd be returned ...
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
4answers
2k views

Digital Anti Aliasing Filter For Waveform Band Limiting

I am working on some waveform generation software and I am trying to figure out what the best type of filter would be to use a an Anti Aliasing filter for my algorithm. I am generating my waves in a "...
3
votes
1answer
373 views

Do lowpass filters affect the integral over the signal?

For which filters, does the resulting signal have the same integral (/average) as the original? Obviously this is true for a moving average, but is it also mathematically true for e.g. a Butterworth ...
2
votes
1answer
151 views

Given Gain function, how to design a causal, stable and minimum phase IIR filter?

I am given $|H(\omega)|$, I wonder if minimum phase stable causal filter is unique and how to calculate it.
2
votes
2answers
4k views

Mathematical Proof of Complementary Filter?

Having found some unofficial sources on Complementary Filter (Thousand Thoughts Sensor Fusion and The Balance Filter by Shane Colton), I wish to work out its rigorous mathematical proof. The ...
1
vote
1answer
2k views

Why use a gaussian low pass filter, when we can convolve with gaussian kernel

Sorry if this question is too simplistic, but I am new to image processing and after successfully writing two programs, a convolution program and a low pass filtering program, I noticed that for ...
0
votes
1answer
462 views

Why we need distances in Ideal LPF?

Here I have a MATLAB code for Ideal Low pass filtering an Image. In the below code they have used D=sqrt(U.^2+V.^2); which finds some distances. Then this distance ...
0
votes
3answers
4k views

What is the intuition of “averaging is a low pass filter”?

As I know, the shape of a low pass filter in time and frequency are as follow: But how averaging work like a normal function in time domain? Is there any intuition in it?
0
votes
1answer
2k views

Cancel Drift after numerical integration

I am trying to integrate angular acceleration obtained from a set of accelerometers positioned specifically at opposite corners of a cube, based on the paper EcoIMU: A Dual Triaxial-Accelerometer ...
9
votes
3answers
2k views

Filter message from noisy voice signal

I am trying to decipher a message hidden within a very noisy audio file(.wav)(I think it is white noise with an additional low drone). The message is a six digit number. I have not have any further ...
8
votes
2answers
919 views

complementary IIR filters

I would like a pair of complementary IIR filters (lowpass/highpass). By complementary, I mean, when the output from the two filters is summed, the original signal is recovered. I thought I could build ...
5
votes
1answer
1k views

Discrete Time Fourier Transform (DTFT) for an unstable system (Ideal Low Pass Filter)

The Dirchlet conditions state that if the signal is absolutely summable then it the DTFT of the signal definitely exists. This is a sufficient condition but not necessary condition. There are ...
4
votes
3answers
2k views

Interpolation by factor of 2

I want to up-sample my input signal by a factor of $2$. I saw zero padding followed by low pass filter method being used in few cases. But still I need some help in this. Say I have $10$ input ...
4
votes
1answer
3k views

Filter coefficients for colored noise Voss Algorithm

If I use a generic filter for generating colored noise like pink,brown,white then how do I modify this statement and how do I know what are the coefficients to be used in AR model for different noise....
3
votes
1answer
4k views

Why Butterworth filter always starts my signal from from zero mark (amplitude)?

I am trying to filter my force signal using Butterworth low pass filter. so this is the signal, I have to filter (noise frequency is around 33 Hz). So when I use Butterworth filter with following ...
3
votes
1answer
1k views

Equivalent 2D mask of moving-average

I have the moving-average mask as mask = [1 1 1; 1 1 1; 1 1 1]; and then I compute the convolution 3 times ...
2
votes
2answers
457 views

Find reverse one pole lowpass filter

I need to find a filter that revert the one pole filter of the current signal, a function using Python (or MATLAB) scipy.signal.filtfilt or ...
2
votes
2answers
5k views

Complex low pass filters

I am searching for documentation on the behaviour of complex low pass filters, and their application in telecommunications. Thank you
1
vote
1answer
1k views

Interpolation filter gain

If somebody could clarify why everywhere is written that the interpolation filter should have gain $L$ where $L$ is upsampling factor. What this gain actually means? Does it compensates for the ...
0
votes
0answers
95 views

Estimating frequency when there's little isolation between signal and noise frequencies

Say I have a signal which is guaranteed to have a frequency between 110-120 Hz but is corrupted by interference signals that're very close to this frequency range. For example, let the interference ...
0
votes
1answer
178 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 ...
0
votes
0answers
31 views

Design of low pass filter

I'm designing a low pass filter to identify the DC content of a signal. The most important aspects of my application are the accuracy and the speed of the identification. I would like to know if the ...
0
votes
1answer
163 views

Filtering on time or frequency domain?

I'm applying an ideal filter on the frequency domain. My code below: ...
0
votes
1answer
129 views

Compensate for FIR filter attenuation

Is there a simple way to compensate for the reduction in amplitude of a low pass filter of a noisy sine wave signal that has been smoothed using a FIR filter so that the amplitude of the smoothed sine ...
0
votes
1answer
719 views

Calculating filter parameters from system response

In trying to answer another question, I got stuck applying what I thought would be a valid way to answer it: using the system function. Here's what I did: First, I put the question ...
0
votes
1answer
6k views

How to determine ALPHA, smoothing constant, of a LPF?

I am implementing a simple LPF in Java. But I have problems in choosing the value of ALPHA. ...