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.

79 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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}}...
3
votes
1answer
217 views

Low-pass filter with varying cut-off frequency over time

Is there a novel way to create a low-pass filter (Finite Impulse Response Filter) with varying cut off frequency over time? For example, I have a white noise that is 10 seconds long sampled at 44.1 ...
3
votes
0answers
560 views

Why do Savitzky-Golay filters of degrees 4 and 6 have roughly opposite ripples?

Savitzky-Golay smoothing filters of polynomial degrees 4 and 6 have frequency response with ripples of roughly opposite signs. Thus averaging the coefficients of two filters of degrees d and d+2 is an ...
2
votes
1answer
39 views

What impact have different types of border-handling on high pass or low pass filtering?

When high or low pass filters are being applied to an (grayscale) image, the borders need to be handled separately. They could be filled with 0's or 255's (b/w), repeat the nearest pixel value, or ...
2
votes
0answers
267 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. ...
2
votes
0answers
110 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 ...
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 ...
2
votes
0answers
5k views

Digital low pass filter vs Kalman filter

I have experience with the design of FIR, IIR digital filters. I also know about the Kalman filter, but I am not skilled at using them. Consider the case of a low frequency signal from discrete ...
2
votes
0answers
105 views

How many different filters are needed for in an iterated filter bank?

I'm trying to implement an iterated filter bank as described in the Subband coding chapter of the Really Friendly Guide to Wavelets. However, the text seems to suggest that The advantage of this ...
1
vote
0answers
27 views

2-D low pass filter

I have an ultrasound signal that is 1536x128. I first downsample the signal by a factor of 2x2 in x and t, then I upsample the missing data with zeros, then I do an fft, fftshift, then another fft to ...
1
vote
0answers
57 views

How to filter out noise in high frequency signal?

I am trying to filter this signal (download-zip): ...
1
vote
1answer
46 views

Low pass filter output showing instability

I am fairly new to DSP, and I'm trying to implement the Pan Tompkins algorithm for QRS detection of ECG signals in MATLAB. The first stage of the algorithm consists of a second-order low-pass filter. ...
1
vote
0answers
21 views

How to design a filter with smoothness regularisation?

I am rather new to the DSP topic. However, I would like to filter a signal with lowest error and highest smoothness. Until now, I was using tikhonov regularisation inside batch regression with some ...
1
vote
1answer
92 views

windowed sinc filter in matlab

Hello i'm designing a low pass filter windowed sinc in matlab ...
1
vote
0answers
58 views

low-pass filter and the sharp cut-off filter

are the low-pass filter and the sharp cut-off filter the same thing?? Here there is the definition of sharp cut-off filter https://en.wikipedia.org/wiki/Filter_(large_eddy_simulation) . I tried to ...
1
vote
0answers
76 views

Why do I have to scale filter coefficients during bandlimited sample rate conversion?

I am writing an example for how to perform sample rate conversion using windowed sinc and polyphase filters. Here is the C++ code as a github gist. So far, this works, and I think I have understood ...
1
vote
0answers
29 views

Frequency warping while creating filter coefficients

If I have an audio signal at 16kHz with frequencies band-limited to 8kHz. I want to low-pass filter this signal such that fc=4000Hz. Meaning when I reconstruct the signal I do not want any content ...
1
vote
0answers
159 views

How to implement one dimensional low pass Gaussian filter with zero-phase shift?

I am trying to apply a low pass Gaussian filter on a signal and find the exact location of maximum/minimum in the resulting smoothed signal. I have to do it for a few values of sigma (Gaussian ...
1
vote
0answers
48 views

Using a Passive 1st Order RC filter to Extract DC Component

I am trying to extract the DC component out of a PWM signal produced by the MCU using a LPF. I understand that 1st order RC filter is looked upon as being amateurish because the gain in the passband ...
1
vote
0answers
140 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 ...
1
vote
1answer
577 views

How to design a lowpass filter using Hamming window and sinc function

I have these three equations and have a noisy voice signal. I have to design a low pass filter of length N=1000 using hamming window technique. I have selected its cutoff frequecny 0.25 (normalized). \...
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
477 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
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 ...
1
vote
0answers
4k 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 ...
1
vote
0answers
345 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
vote
0answers
206 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 ...
1
vote
0answers
13 views

is there upper limit on averaging window size for images?

An amateur question. I take an image and average pixels over a window 3 by 3, thus obtaining a smoother image. Then I increase the averaging window size - obtain an image with even less details, but ...
1
vote
0answers
187 views

Appropriate digital filter for GPS tracks?

I have an open-source software project whose purpose is to analyze a GPS track, or a similar track made by an application such as google maps, and estimate the physical exertion required to hike or ...
1
vote
0answers
54 views

Locate first minima in signal

I have many datasets which all looks roughly like this: All the datasets have this in common. First there is an artifact around 0 with an unknown (but likely very high) intensity. Then there is some ...
1
vote
0answers
112 views

Velocity estimation from distance sensor

I know it is a generic question but I did not find a specific answer to it online. My question is: I have a range sensor based on the time of flight (Infrared Sensor. Transmitter-Reflector-Receiver)....
1
vote
0answers
176 views

Two way Audio crossover MATLAB code using Bessel

Could MATLAB's besself function be used in designing an Audio crossover (Tweeter and Woofer) with highpass and lowpass filters? Most likely the same with this ...
1
vote
0answers
276 views

Which method to choose to get linear phase response zero group delay low-pass filter?

Background: I do time-dependent simulations of physical systems. Like this: http://journals.aps.org/prb/abstract/10.1103/PhysRevB.91.115431 During the simulation, observables are recorded and later ...
1
vote
0answers
145 views

Multiply filter kernel by sine

1)Suppose that we have low-pass filter with cf equal to 0.1. How frequency response would look like if I multiply filter kernel by sine with frequency say 0.3? How this is related to converting low-...
1
vote
0answers
526 views

Calculate cutoff frequency of filtered data

I am processing data which was put through a low pass filter at some point. Looking at the FFT, I can see that it is less than the Nyquist rate. I am trying to filter another set of data so that the ...
1
vote
0answers
34 views

Statistics of the output of a high bitrate signal filtered through a narrow band low pass filter

I was wondering what would be the statistics of the output of the filtering of an extremely wideband signal (e.g. 10 Gbps random data stream) through a narrowband low-pass filter (e.g. 10 MHz LP). I ...
1
vote
0answers
764 views

Lowpass then Inverse filtering in python

I wrote a simple lowpass filter in python to run against lena. Now I'd like to add Gaussian noise to the lowpass filtered data and then run an inverse filter against the lowpass and try to get the ...
1
vote
0answers
120 views

Recovery of Bandlimited Signals after Companding and Low Pass Filter

Let $\Omega > 0$ and denote by $\mathcal{B}_\Omega$ the subspace of $L^2(\Bbb R)$ consisting of signals that are bandlimited to $(-\Omega, \Omega)$. Denote $\mathcal{L}_{\Omega} : L^2(\Bbb R) \...
1
vote
0answers
537 views

Building a Low-Pass FFT filter for a noisy current pulse signal

I have some (well lots) of data signals which are measurements of current pulses. The current pulses are the result of spark breakdowns (20 kV + 700 pF capacitor so quite energetic) and my problem is ...
1
vote
0answers
2k views

How do decide which order my butterworth filter should have?

I have a signal that was recorded with around 300 samples in a second. Now I want to run a low pass and a high pass butterworth filter over it. The frequency for the high pass filter is around 0.05 Hz ...
1
vote
1answer
280 views

filter design for ECG

I would like to ask how to design a digital filter to remove $50$ Hz interference on an ECG signal. Do I need to use notch filter? Thanks.
0
votes
0answers
16 views

Slew Rate Filter With Different Smoothing Factors in Each Direction

I'm smoothing the output of an ADC with a simple first order low pass filter. Of course the smoothing rate is the same whether the signal is rising or falling. Preferably the smoothing rate needs to ...
0
votes
0answers
23 views

Shading Correction Using Lowpass Filtering

I was taking the course on DIP. The teacher uses Digital Image Processing by Rafael C. Gonzalez and Richard E. Woods as textbook. In the part about lowpass filter, there's this example. We found that ...
0
votes
0answers
34 views
0
votes
0answers
20 views

Does separation of variables of a transfer function followed by a z-domain transform work?

I tried taking a low pass filter transfer function in the form $A/(s^2+Bs+C)$ and separating it into multiple fractions over each root $(D/(s+r1))+(E/(s+r2))$. Then I substituted $s =((2/T)*((z-1)/(z+...
0
votes
0answers
38 views

Can Kaiser's formula be used to estimate the filter length of an FIR filter for all windowing methods?

I came across this problem while designing a FIR filter for given $\omega_p = 0.4\pi$ and $\omega_s = 0.6\pi$ along with the minimum stop-band attenuation $\delta_s$. I have worked out some examples ...
0
votes
0answers
23 views

Closed loop detection system

I am trying to design a detector of the DC component of a signal (low pass filter). I found the following topology (called Closed Loop Detection System) in an article (https://ieeexplore.ieee.org/...
0
votes
0answers
34 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
2answers
63 views

IIR Direct FormII Filter second order in VHDL, false output

I am trying to implement an IIR second order in Direct FormII in VHDL. To make it easier to understand for me and to avoid former timing issues, I implemented the operations sequentially. In my ...
0
votes
0answers
57 views

Polyphase resampling delay

I want to implement polyphase resampling. For this, I wrote a script in matlab. The script performs the following sequence of actions: ...