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
1
vote
1answer
2k views

with SciPy, how to generate waveform with common pulse shapes?

With Python/Scipy, if I have a simply BPSK signal sequence [1, -1, -1, 1, ...], how can I generate a real-valued baseband waveforms with oversampling rate ...
3
votes
2answers
1k views

About designing digital filters [duplicate]

I'm currently using MATLAB's fdatool for filter design. Using that tool, I can easily design different kind of filters. For example, let's take a band-pass FIR filter with 10-40 Hz passband, and 5-10 ...
3
votes
0answers
593 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 ...
1
vote
2answers
9k views

Does low-pass filtering a square wave cause a 'ringing' to develop in the signal?

Using the figure below as an example, I wonder if it is possible that the small oscillations in the signal at the time of each step shift could be caused solely by the application of a low-pass filter ...
0
votes
1answer
4k views

How to determine the window size and weights in Weighted Moving Average (WMA), given desired cut-off frequency?

I am trying to smooth my discrete-time data points using the method of WMA. Currently, I am using n as the window size and the weight array, ...
1
vote
1answer
2k views

Low pass signal filtering using FFT or simple infinite impulse response filter

I am currently in need for filtering accelerometer data for an Android application. First of all, I used a simple low-pass filter (simple infinite impulse response filter) as follows: ...
0
votes
1answer
801 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 ...
3
votes
6answers
6k views

Why do we need to have unity gain at DC for a lowpass filter?

I have seen many times, including in a post on this forum, that it is recommended to have unity gain at DC for a lowpass filter. I would like to now the mathematical explanation.
0
votes
1answer
7k 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. ...
4
votes
5answers
18k 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: ...
1
vote
1answer
263 views

How to choose one among different types of LPF?

My signal graph is as follows I have < 10 reputation, thus cannot post the photo... The graph are simply roughly the series of -5, 0, +5, 0, -5, 0, +5, 0.... but with sawtooth-like small peaks ...
1
vote
0answers
547 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 ...
3
votes
2answers
691 views

Spectrum analyser and resolution bandwidth

For the preliminary part of a lab I had to do, I was asked the following question: I get how to do 1.1, but with 1.2, I really don't get what's going on; I really would've thought that the resolution ...
4
votes
1answer
2k 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 ...
2
votes
2answers
9k views

Even after applying a low pass filter, why is there a DC offset?

I need to smooth some data segments and one of the techniques I am experimenting is a low-pass filter. So I designed a low-pass filter in matlab and applied it to my signals. Here is what happened ...
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 ...
3
votes
1answer
1k views

Interpolated FIR filter

I am confused about this Q&A : Interpolation by factor of 2 If my input signal $$ x[n]= x0,x1,x2,x3 $$ then according to the threads explaination my $v[n]$ will be $$ v[n]=x0,0,x1,0,x2,0,x3,0 ...
5
votes
3answers
926 views

Low pass fir filter with non-unity gain

In my filter specs, the passband gain is given as 6.02db. How do I achieve this? Usually all texts give the passband gain as 0db (as well as passband ripples if any).
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 ...
9
votes
3answers
27k 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 ...
4
votes
2answers
1k views

Low Pass Filter Artifacts

I have created a Low Pass filter (I am trying to understand the topic of DSP, and it's hard.. But moving along with samples, books and a nice post on Stack Overflow). I am saving the 'output' to a ...
1
vote
1answer
181 views

Approximation using a Fourier transform with low pass filter

I need to approximate a function f, but I cannot do so with frequencies that exceed 1kHz What is the best approximation I can get? Is taking the Fourier transform then zeroing any term above 1kHz the ...
2
votes
2answers
815 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 ...
0
votes
2answers
208 views

Memory of a filter used on real time digital signal processing

My question is regarding the memory of a filter when we want to implement it on a real time dsp environment. We have certain memories like scratch memory , intermediate memory and internal memory. ...
1
vote
2answers
279 views

Filter for Reducing Background Noise in Image

I have images where there is a lot of "black" background (few shades of black). (In many images at least half the pixels are background). I need to get interest points from the image, but because the ...
0
votes
1answer
486 views

Downsampling and Gradient filtering

Are the following sequence of operations the same - Down-sampling filtering followed by gradient filtering with kernel [-1 0 1] Gradient filtering with kernel [-1 0 1] followed by down-sampling ...
1
vote
1answer
2k views

Is a DC signal 0 frequency or extremely high?

If I pass a signal with DC component through a Low Pass Filter will the output be without the DC component?
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 ...
3
votes
2answers
4k views

A Simple Lowpass Filter Behaving so Strangely

I don't know much about filter design. After reading a few articles on wikipedia I am playing with filter design and I see something weird and would like some help in understanding what exactly is ...
4
votes
1answer
2k views

Ideal Low-Pass Filter Output?

I'm very new to digital signal processing, I've been reading a text book to try to figure out this assignment at work (avionics related). I'm supposed to implement a two-pole low-pass filter with a ...
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 ...
3
votes
2answers
474 views

Reverse Engineering Bessel LPF (sample frequency needed)

I have the following sourcecode. For all I know, it should be a Bessel LPF at 10Hz. Is there a way to get the sampling frequence out of this? ...
7
votes
1answer
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 ...
5
votes
1answer
4k views

Best way to resample a signal (image)?

I have an original image $\ I(x_i,y_j)$ where $\ x_i = i*\Delta x, 0<= i < n_i $ and $\ y_j = j*\Delta y, 0<= j < n_j$ I am trying to implement a function that resamples the image ...
2
votes
3answers
1k views

When negative frequencies cannot exist in practice, why do we calculate power in negative frequency?

Suppose a signal with two-sided power spectral density $N/2$ is passed through an ideal LPF having cutoff frequncy $B\,\mathrm{Hz}$. The output power is equal to $N/2 \times 2B = NB$ Watts. Why not $...
3
votes
3answers
2k views

LPF and HPF Confusion - Rectangular and Circular Cut-Offs

Interpreting some homework, I'm a little confused on what it's asking for. I'm asked to filter in the frequency domain (easy enough, just a fft2 and ifft2 when I'm done) a 256x256 8bit grayscale tiff ...
2
votes
1answer
3k views

Filtering PCM data in java

I'm working on an audio based application for android platform , I'm trying to use a low pass filter to a fixed or variable max frequency "depends on the cost of development". first I've been playing ...
3
votes
1answer
395 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 ...
4
votes
2answers
935 views

Downsample Equiripple FIR filter

I am designing some Downsampling filters using the remez exchange algorithm (Matlab FDAtool). I see that some times i get a spike at the first and last coefficients. does anybody knows why is that? my ...
9
votes
2answers
801 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
2answers
897 views

Apply Low Pass (Smoothing) Filter on a Set of Matrices and Reject Outliers

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 "...
16
votes
5answers
50k 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 ...
10
votes
4answers
7k 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 ...
8
votes
2answers
991 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
3answers
187 views

What is temporal neighborhood?

I read in a paper http://tcts.fpms.ac.be/publications/regpapers/2011/nrmmbgtd_icvs_LNCS.pdf about spatio-temporal filters, which is applied to frames of the videos. I could not understand these terms ...
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), ...
9
votes
2answers
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 ...
-3
votes
1answer
224 views

Function in the Fourier domain of a low-pass filter

I have to represent a low-pass filter in the Fourier domain having a cut-off frequency of $f_c={3}\ kHz$. Could all low-pass filters could be represented with this function: $H(f)=\frac{1}{1+j\left(\...
5
votes
2answers
701 views

What are the characteristics of a “good” smoothing convolution kernel?

At work we were smoothing a signal by convolving with either f1=[0.2000 0.2000 0.2000 0.2000 0.2000] or ...
6
votes
2answers
4k 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 ...

1
7 8 9
10
11