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
0
votes
1answer
128 views

Instantaneous velocity and displacement from acceleration signal using a proper filtering method

first I need to mention I'm new to signal processing. here is the situation: I have an acceleration time-series derived from an accelerometer I wanted to imply a filtering method like high pass ...
0
votes
0answers
3k views

AM Modulator Demodulator in Python

I am trying to make a AM modem using Python Numpy and Matplotlib. I am successful in generating the AM Signal but I cannot demodulate it using a lowpass filter function that I made. The demodulation ...
1
vote
1answer
103 views

How to filter a signal sampled at different frequencies

I have a signal which was sampled using different frequencies. The 3 regions are: 0-10 ms: 10000 Hz 10-50 ms: 1000 Hz 50-200 ms: 100 Hz The signal is very noisy, so I thought about smoothing it with ...
1
vote
0answers
2k views

Implement a Butterworth Filter in C#

I'm very new to signal processing, but was asked to implement a filter function for Butterworth low pass filter for given order, cutoff frequency and sample rate. After reading some articles I think ...
1
vote
1answer
342 views

how can I make a simple lowpass filter with this constraints? [closed]

I'm searching for a simple low pass filter code in C with this constraints a modulable frequency cutoff (how can I convert all these crazy coefficients into a frequency?) I could change with a slider....
3
votes
1answer
6k views

Apply butterworth filter (lowpass) to a signal

I'm working on a DSP lab and I can't figure out how to apply the filter I've created to a sound. The only thing I found online that did something to my sound was ...
0
votes
2answers
100 views

Can I combine an IIR (an EWMA) with a maximum?

I'd like to have a exponentially weighted moving average (EWMA) which is raised to the value of the input signal whenever this is higher than the filter output. This taking of the maximum shall take ...
0
votes
4answers
82 views

Can I use IIR or FIR to get a sliding mean?

My output signal shall be computed by (meta code): o = 0 # or some arbitrary initial value for i in input: o = (o * 99 + i) / 100 print o I call this a "...
2
votes
1answer
319 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
131 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 ...
1
vote
1answer
511 views

“fred harris rule of thumb”:

I would like to cite "fred harris rule of thumb" for estimating filter order. Is there a book or paper where I can find this rule of thumb? Thanks a bunch.
3
votes
3answers
572 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
753 views

2D Fourier transform of Sobel kernel

Can someone explain me the highlighted text parts regarding this image ? Here is a pseudo-code of how it was created: ...
1
vote
2answers
1k views

Gaussian filter as a low pass filter

Can anyone explain me how is a Gaussian filter a low pass filter? It may be a simple thing but I just can't seem to wrap my head around it. Also while applying a low pass filter for bandlimiting (to ...
0
votes
1answer
98 views

Determine filter given transfer function [closed]

I am given $$H(z) = 1 + \frac{\alpha}{1-\alpha z^{-1}}$$ where alpha is between $0$ and $1$. This is apparently is a low-pass filter with cutoff frequency $f_c$. How can I see that? And how can I ...
1
vote
1answer
447 views

Consider an ideal low pass filter $H(\omega)$, and the input to this filter is the periodic square wave $x(t)$. Find the output $y(t)$

The solution to the problem is $$y(t) = 5 + \frac{20}{\pi} \sin(\pi t) + \frac{20}{3\pi} \sin(3 \pi t) $$ and to get that the solution says to find the Fourier series expansion of $x(t)$ and I am ...
1
vote
1answer
83 views

Digital Lowpass Filters, basic questions

Forgive the newbie questions, I'm just starting out and wanted some basic information. I have a signal coming from a digital gyro, most of the useful information is below 90hz but I am seeing ...
1
vote
0answers
47 views

Low pass image filter

I have feature in my camera that indicates "Low Frequency Flat Field correction" and I want to evaluate its impact on the image. How can I do this? Currently I can only take pictures of a uniform ...
2
votes
0answers
263 views

Applying Jake's remez exchange algorithm for filter design

I have found C implementation for remez exchange algorithm(https://github.com/janovetz/remez-exchange/blob/master/remez.c) and I want to use this to implement a generic prototype lowpass filter. ...
0
votes
1answer
992 views

Upsampling before performing pulse shaping

I know what an upsampler does. We insert L-1 zeros between the samples. As a result, it creates spectral repetitions. What if we have a symbol impulse stream and then we apply a Root Raised Cosine ...
1
vote
1answer
34 views

Overview of regression methods between the data

I am trying to find different approaches (classic and modern) in order to find a regression function between data (in time domain) with high-frequency noise. Consider the result of this code (in ...
0
votes
1answer
119 views

Apply LTI filter to incoming signal stream [duplicate]

Typically, when I want to filter a signal with an LTI filter (in this case a low-pass filter), I just convolve the signal with the filter. However, what do I do if I have a stream of data that I want ...
3
votes
1answer
933 views

Lowpass Lanczos filter

I am new to Lanczos filters and trying to figure out how they can be used to generate a zero-phase lowpass filter with good time-domain properties. This example shows how to implement such a filter in ...
1
vote
0answers
3k views

Design of a Butterworth lowpass filter in MATLAB

I'm using the Signal Processing Toolbox in MATLAB to design a Butterworth low-pass filter. I'm told that my filter has been giving some unexpected results. In particular, when the values from this ...
2
votes
1answer
2k views

Removing low frequencies from a signal

I am trying to remove low frequencies from a signal and intuitively I chose the high-pass filter, more specifically - a Butterworth filter, Order 4 (because I am not sure how to choose properly the ...
2
votes
0answers
109 views

What is the reason for this 'linear “error”'

Here's MIM (Magnitude Invariance Method) thesis (press the "View PDF" to get the theis with MATLAB code in hands) and here's a plot showing the issue I'm trying to solve: Magnitude responses for one ...
4
votes
1answer
2k views

Lowpass : What is wrong with average filtering?

The question is : What is wrong with averaging as low pass filter ? The details : I want to lowpass filter a signal to downsample it. The constraints are : I have no RAM available and I work in ...
0
votes
1answer
1k views

Downconverting real signal to IQ baseband

Despite reading various answers on this site and on other sites I am still confused about how to convert a real-valued signal back down to its original IQ baseband values. Note I am still a beginner ...
7
votes
3answers
9k views

First order low pass filter

I am trying to better understand the first-order low pass filter: Summary: Per wikipedia, a first order low pass filter yields the following in discrete time: $$ \frac{Y(s)}{U(s)}= \frac{\omega_{c}}...
0
votes
1answer
455 views

FIR filter digital differentiator with low cutoff

I'm trying to design a digital differentiator FIR Filter. It features a lowpass, such that above the cutoff frequency the amplification is very low. I get the coefficients by a linear program ...
0
votes
1answer
89 views

Can I implement a LP filter using DMA?

This questions seems to be a little strange but bear with me. I have an application that needs a digital filter to be implemented in a microcontroller. What I want to do I want to use the DMA to ...
5
votes
2answers
3k views

Why is the median filter called 'edge-preserving'?

I want to know about median filtering. Recently, I read that it is best for preserving edges. But how does it preserve edges? I need complete knowledge of median filters. Why it is non-linear filter ...
2
votes
1answer
184 views

Is Savitzky-Golay filter a special case of an FIR lowpass filter?

The Savitzky-Golay filter is explained here. It looks to me that any Savitzky-Golay filter can equally be considered an FIR filter. Am I right about that?
2
votes
0answers
57 views

What Techniques Are Used for Signal / Image Denoising (Example Image Provided)?

I have an image that looks like this (it might appear low res in a browser because it is 16 MB). This image was taken with a scanning electron microscope, but because the equipment is outdated there ...
4
votes
3answers
5k 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 ...
1
vote
0answers
337 views

Converting floating point IIR to fixed point arithmetic, given its difference equation

Is there some general way to perform the task given in the question? I have a filter given as follows: ...
-1
votes
1answer
524 views

Forward Backward filter Scipy - $\tt signal.filtfilt$ changes the amplitude when $\tt signal.butter$ is used with $\tt btype='high'$

In the plot below the blue wave is the original signal. The orange wave is after the low pass filter. The green wave is after the high pass filter. I have a noisy ECG signal stored in the ...
2
votes
2answers
271 views

Magnetometer coil equalization

I have a search coil magnetometer with two coils, one at each end of a ferromagnetic core of high magnetic permeability: Figure 1. Double search coil magnetometer. (Modified from a drawing CC BY-SA 3....
1
vote
2answers
315 views

Determine filter type (HPF or LPF) by its coefficients

I want to determine optimal initial states for a FIR/IIR filter to get rid of oscillations and shifts at the initial interval. I've found that these initial states depend on filter type in the ...
3
votes
1answer
113 views

Can the overlap-add method be used with varying cut-off frequency filter?

I'm writing a software analogue synth. I have been using the Overlap-add method to cheaply implement a low-pass filter using FFT. My low-pass filter has had a constant impulse response; a constant ...
0
votes
3answers
730 views

How to Design Nonlinear Phase FIR Filter?

I've recently encountered a rather clever low-pass filter that appears to have been designed to sacrifice uniform group delay in the pass-band to get better frequency response relative to the filter ...
1
vote
0answers
198 views

How use FIR filter for simulating an integral implemented using the trapezoidal integration?

Suppose I have this equation $$ \phi = \frac{60}{T^5} \int_0^T \left( T^2 - 6T \tau + 6\tau^2\right) y(t-\tau) d\tau - \frac{30 \alpha}{T^5} \int(T-\tau)^2\tau^2 u(t-\tau) d\tau $$ and I want to use ...
0
votes
1answer
406 views

how to understand frequncy response and lowpass filter?

I am troubled with understanding freqency response. In lecture, my teacher talked about $H(f)$, which i know means that the response depend on frequency, $f$. But when I read text book, it uses a ...
0
votes
1answer
259 views

FIR filter design with flat passband but equi-ripple stop-band

I am looking for a lowpass FIR filter with flat passband but equi-ripple stopband. In other words, it likes Chebyshev_filter Type II except that it is FIR instead of IIR. Linear-phase is preferred. ...
1
vote
1answer
256 views

FIR Filters - Type 3

So I understand that a type 3 filter is not suitable for a highpass filter design, but is there any reason why it isnt suitable for a lowpass filter? So ultimately, can a type 3 linear-phase FIR ...
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:} ...
1
vote
1answer
811 views

Filtering an acceleration signal

I have a triaxial accelerometer giving me acceleration along x, y, and z. I then combine the 3 axes by calculating magnitude of acceleration over all time points (details in my question here) I'm ...
3
votes
1answer
255 views

Fractional Delay Filters and Cutoff Frequences

I am trying to implement an interpolator for arbitrary sampling rate conversion of a one-dimensional signal (a fractional delay filter). I am aware of the fact that interpolation is in general a ...
1
vote
1answer
6k views

Differences between low-pass, band-pass, notch filters

I'm studying image processing and I know that there are different filters you can apply. I don't understand the difference between the low-pass/bandpass/notch filter (or high-pass/band-reject/notch). ...
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-...