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.

589 questions
Filter by
Sorted by
Tagged with
56k 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 ...
53k views

How to write lowpass filter for sampled signal in Python?

I have some signal that sampled each 1 ns (1e-9 sec) and have, let say, 1e4 points. I need to filter high frequencies from this signal. Let say I need to filter frequencies higher than 10 MHz. I want ...
3k views

What is the physical interpretation of Lowpass/Highpass filtering?

In Image/Signal processing context we have seen/we know that if there are say 4 samples and if we take an average of those 4 samples, then we say that the result sample is a low pass filtered output ...
2k views

How can I lowpass filter by only reducing peak data?

I have a 2D image, which I want to lowpass filter, with these constraints / quality metrics: I can not "add" light to the image, so each pixel in the result should be <= the corresponding pixel in ...
2k views

Why is $y(n) = x(n) + x(n-1)$ a low pass filter?

I have found that this is a simple, but bad lowpass filter: $$y(n) = x(n) + x(n-1)$$ However, I can't understand why it is a lowpass filter. What is its cutoff frequency?
3k views

Is a high-passed signal the same as a signal minus a low-passed signal?

My question is, if I want to high-pass a signal, is it the same as low-passing a signal and subtracting it from the signal? Is it theoretically the same? Is it practically the same? I have searched (...
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), ...
2k views

I already posted this question on StackOverflow. I got a suggestion to go for a better answer here. To make the question more concise I'm interested in an introduction to digital filters, any ...
6k 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:} ...
9k views

How should a moving average handle missing data points?

I'm writing a program that averages the user's weight across different days. I'm planning to use a 5-point moving-average (current day, two before and two after). Sometimes, a data point is missing ...
7k views

Savitzky–Golay filter vs. IIR or FIR linear filter

A traditional IIR / FIR filter (lowpass to remove the high freq oscillations), e.g. moving average, or a Savitzky-Golay filter can all be useful to smoothen a signal, such as an envelope signal: ...
984 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 ...
159 views

What is this sinc doing in my LP-turned-HP filter output?

I'm trying to HP-filter a signal by LP-filtering it and subtracting the output from the original filter. To obtain the LP-filtered signal, I backward-forward filtered using a third-order Butterworth ...
28k views

How does a low-pass filter programmatically work?

I have been working on a simple low pass filter for < 100 Hz metering in my application. But so far, I am struggling with the theory behind it all. It's cool that I got it working, but I'd really ...
5k views

Low pass filtering on short int (16 bit PCM) samples

I am writing software for processing audio given as 16-bit PCM samples. The first stage of the processing involves calculating the energy (or total variation) in a certain frequency range (above a ...
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 ...
18k views

10k views

FIR vs IIR filter

In my filter design, FIR gives order 14 and IIR gives order 8 or 4. so what are the disadvantages of IIR design?
14k 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 ...
5k views

How to smooth a signal?

The easiest way to smooth a signal is by moving window average. A more advanced way is to use a Savitzky-Golay filter. From wikipedia: The main advantage of this approach is that it tends to ...
2k views

Choice of Gaussian kernel parameters when lowpass filtering before image resampling?

I need to decimate a signal by a factor of q. More specifically my signal is a 3D "image": $\ I(x_i,y_j,z_k)$, which I need to downsample by a factor of two in the z direction. I want to do lowpass ...
11k 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, ...
13k views

Can you turn a square wave into a sine wave using a low pass filter?

And if it could, would it make the sound of the square wave thinner than before because of losing its harmonics?
218 views

2k views

Smoothed Square Wave

new here and probably pretty unexperienced compared to the rest of you. This should be simple enough but just wanted some clarification. I'm trying to model an analog square wave oscillator with C. ...
Given a set of a $3$ by $3$ matrices ${H}_{i}$. Each matrix is an Homography matrix. They are used to stabilize Video Stream. Yet some of them are outliers which creates "Jumps" in the "...