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
7
votes
2answers
24k 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, $$ ...
11
votes
2answers
5k 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:} ...
5
votes
1answer
898 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 ...
5
votes
2answers
10k 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, ...
2
votes
2answers
814 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 ...
10
votes
2answers
967 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 ...
0
votes
5answers
369 views

Amplitude reduction of Simple Moving Average on sinusoid

When a -causal/non-centered- simple moving average filter (arithmetic mean) with length $n$, is applied to a sinusoidal curve with period $p$, and the resulting curve is compared to the original input ...
0
votes
2answers
541 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 ...
7
votes
2answers
13k 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 ...
1
vote
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 ...
5
votes
1answer
2k 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
2answers
7k 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
3
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
3k views

Implementation of basic 2-pole low-pass filter

I know this question has been asked to hell and back from many people, and that it will probably get downvoted until it's deleted, but please bear with me. I am designing a sound engine for one of my ...
4
votes
3answers
1k 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 ...
3
votes
1answer
548 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 ?
2
votes
1answer
492 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 ...
2
votes
2answers
834 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
184 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
2answers
521 views

Where should I set my anti-aliasing filter corner frequency for this signal?

I have a Fourier transform of an arbitrary digital signal. The transform has For 1024 frequency bins. The magnitude plot of the first 100 is below, with no surprises in the unplotted 924 bins. Now, ...
0
votes
1answer
61 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 ...
0
votes
2answers
66 views

Role of Power Metric and LPF in AGC(Automatic Gain Controller)

I am trying to understand & implement simple toy AGC system . Few questions while reading about it, 1) How POWER metric came into picture, why not other metric like absolute value to control ...
24
votes
1answer
55k 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), ...
6
votes
2answers
197 views

Where do RBJ's analog shelving filters come from?

In RBJ's Audio EQ Cookbook, the analog prototype for a low shelf filter is given as such: $$H(s)=A\cdot\frac{s^2+\left(\frac{\sqrt{A}}{Q}\right)\cdot s + A}{A\cdot s^2 + \left(\frac{\sqrt{A}}{Q}\right)...
5
votes
1answer
11k views

How is the lowpass to bandpass transformation derived?

I'm using a lowpass to bandpass filter transformation: $$ s \leftarrow Q \left( \frac{s}{\omega_0} + \frac{\omega_0}{s} \right) $$ Based on the wiki article: http://en.wikipedia.org/wiki/...
4
votes
5answers
19k 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
1answer
5k 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: ...
3
votes
2answers
11k 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 ...
4
votes
4answers
4k 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 ...
0
votes
3answers
7k 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?
6
votes
1answer
2k 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 ...
5
votes
1answer
3k 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 ...
5
votes
3answers
9k views

Low pass filter algorithm origin

I have been doing some research, because I used this algorithm that's very spread in the web: y += a * (x - y) or ...
4
votes
1answer
9k 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
12k views

How to produce a high-pass filter from a low-pass one?

I already have a low-pass filter and want to remove the DC offset of a signal with a high-pass one. I guess you can subtract a low-pass filtered signal from the original signal and the result is a ...
3
votes
1answer
417 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 ...
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
362 views

How to Get Rid of Ripples from a Gradient Image of a Smoothed Image?

I have a gray scale UINT8 image. When I smooth it with a Gaussian filter and then compute the gradient image with a Sobel filter in OpenCV, ripples would appear. ...
2
votes
1answer
223 views

4-phase FIR LPF in MATLAB

I'm trying to create a low pass FIR filter using the coefficients I found in ITU 1770-3 on page 18. This is the last piece of the puzzle for an audio loudness metering algorithm I'm working on. I'm ...
2
votes
1answer
160 views

Frequency conversion in IIR lowpass-to-lowpass transformation

We use $\ z^{-1} \xrightarrow{} \frac{z^{-1}-\alpha}{1-{\alpha}z^{-1}}$ and $ \alpha = \frac{\sin(\omega_c^{'}-\omega_c)/2}{\sin(\omega_c^{'}+\omega_c)/2}$ for a lowpass-to-lowpass frequency ...
2
votes
1answer
190 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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
567 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 ...
-1
votes
1answer
568 views

How to design and implement a low-pass AR1 filter in Matlab?

I have a data series y(n) that I want to filter using a low-pass AR1 filter. I found that this filter has a transfer function ...
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
1k 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 ...
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....