Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
45 views

Fixed-point Exponential Moving Average filter with given cutoff frequency

I want to implement in fixed point arithmetic an exponential moving average filter, with a specific cutoff frequency for a given sampling rate. The formula for the filter is $$ y_n = \alpha x_n + (1 -...
0
votes
1answer
20 views

How to draw the magnitude plot of a variable slope low/high pass shelving filter? (eg. as a function of cascaded shelving filters)

I am interested in making a magnitude graph of a variable slope low/high pass filter. I would like to set slope in dB/oct and a cutoff pitch. The y-axis should be amplitude from 0 to 1, and the x-axis ...
1
vote
1answer
33 views

Why is Cheby 2 filter uncommon?

I've been reading the Chebyshev filters chapter in The Scientist and Engineer's Guide to Digital Signal Processing and it says "The Chebyshev filters discussed in this chapter are called type 1 ...
5
votes
1answer
78 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 ...
0
votes
0answers
39 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 ...
0
votes
0answers
29 views

High quality removing gravity from accelerometer data without Sensor Fusion

My smartphone have only accelerometer sensor. I need to get data close to (0,0,0) in hold in my own application. I did use some app from Google Play and data was very close to it (some like 0.1 and ...
1
vote
0answers
11 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 ...
0
votes
1answer
67 views

Filtering on time or frequency domain?

I'm applying an ideal filter on the frequency domain. My code below: ...
0
votes
0answers
21 views

What is the difference between a range filter and a low-pass filter?

A low-pass filter attenuates the high frequencies, preserving only smooth variations in the provided image. The result of an image which is low-pass filtered is an image with blurred edges (hence ...
0
votes
1answer
26 views

Why exactly is the Guassian filter a low-pass filter?

In image processing, a Guassian filter is used to blur an image. A low-pass filter is a filter that attenuates the high frequencies, preserving only smooth variations in the provided image. Is a ...
0
votes
0answers
90 views

“Improved” MZT/IIM type One pole LPF

Some time ago, while playing with all kind of approximation of common math functions, I came up to this idea to calculate a1 coefficient for a 1st order LPF filter: \begin{array}{l}a1=-(1+x+\frac12x^...
3
votes
1answer
74 views

Understading sampling theorem and aliasing

A real-valued analog signal with a flat spectrum between f = 0 Hz, and fmax is sampled at a sampling frequency fs = 24 kHz. The sampled signal is then processed with an ideal lowpass filter with ...
1
vote
0answers
63 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 ...
0
votes
0answers
36 views

How to low pass very few samples

I'm asking myself what is the best way to low pass a signal which only has a few hundred samples? Or is there a proper way at all? It must not be a sound signal but I used Audacity to display the ...
0
votes
0answers
23 views

Determine filter type using recurrence relation

Given the recurrence relation: $y[n] = x[n] + 0.5y[n-1]$ I want to determine the filter type (i.e. LPF, HPF etc.) I try to use Z transform, and get that the the transfer function is $H(z) = \frac{2z}{...
5
votes
1answer
171 views

What type of low-pass filter to use for gyroscope filtering in control application?

I am using a gyroscope to generate a feedback signal that drives a motor to resist rotation, just as in a camera gimbal. The gyroscope is sampling at 32 KHz with a bandwidth of 8 KHz, and my control ...
-1
votes
1answer
41 views

How to keep low frequencies in DCT

How can I keep a percentage r of the low frequencies of a Nx1 signal x using the Discrete Cosine Transform of it? Is it simply zeroing all but the first rN elements of DCT(x)?
0
votes
0answers
40 views

Low pass filter preserving amplitude

Are there any types of low pass filters that preserve the amplitude and phase? The one that I am aware of, sometimes called an exponentially weighted moving average does neither. First order Low pass ...
1
vote
1answer
59 views

how can I design Chebyshev filter with 5th-order polynomial and 0.001%-allowed ripples?

I'm very beginner in signal processing. I need to design a Chebyshev filter with 5th-order polynomial and 0.001%-allowed ripples by using matlab as I found in a paper. I'm filtering pressure data ...
0
votes
1answer
60 views

How to filter an OFDM signal? [closed]

Across the channel bandwidth there shoudd be 100 RBs (central 1200 sub carriers in a 2048 bin). Max power normalized to 0dB, the first OOB lobe should be -34dB. This 1st lobe on either side is at 5 ...
0
votes
0answers
21 views

Constructing a lowpass digital differentiator such that maximum error is $n$ dB for passband

I want to construct a lowpass digital differentiator with uniform-interval samples such that error from ideal differentiator is $n$ dB in magnitude at maximum for the passband up to frequency $\...
3
votes
1answer
399 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 ...
0
votes
0answers
35 views

Lowpass-filter necessary before DFT?

I'm trying to distinguish eletrical engines by the magnetic field they create. I have no idea whether this is a smart idea, it's possible at all, whatsoever. However it brought me to a basic question ...
0
votes
1answer
25 views

Why do cutoff frequencies of a high-pass digital filter differ from the ones i used to transform it from a low-pass analog filter in MATLAB?

I need to transform an elliptic analog low-pass filter to a digital high-pass filter but i'm having a problem because the resulting filter has lower cutoff frequencies than the ones i set. Here is the ...
0
votes
1answer
82 views

Using Parks-Mcclellan (or others) for FIR differentiator?

I have never seen the use of Parks-Mcclellan for differentiator - most uses tend to be lowpass filters. Is this because Parks-Mcclellan implementation of FIR differentiator has numerical problems and ...
0
votes
1answer
40 views

LP to BP transformation steps

Considering the following problem, What i know to convert from LP signal to BP signal is to: Draw the FD of the LP equation From it I can draw the FD for BP From this graph I can deduce the equation ...
0
votes
1answer
117 views

Why does my low pass filter diverge below 7000 Hz?

I'm trying to create a LPF, using language JAVA. My first aim is to understand how filters design is working and the second one is to create a "home made" equalizer with "home made" filters. To help ...
1
vote
1answer
674 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, ...
1
vote
1answer
46 views

How does cascading low pass modules affect pass band ripples?

This question 10.21 is taken from GATE IN paper 2015. I don't understand the answer given, I mean why is the frequency response at the pass band frequency considered to be $(1-\delta)$, isn't the ...
0
votes
1answer
50 views

Low pass to low pass transformation coefficient?

I am unable to solve this question, 10.10 from GATE IN 2004 (a previous year question paper for an exam targeted at engineering graduates in India.) So I tried to solve the 10.10 by considering the ...
1
vote
0answers
29 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 ...
0
votes
2answers
62 views

Cascading a filter with itself to form a higher-order filter?

I've been given an audio signal with some high frequency noise. The professor gave me the system function of a lowpass filter that gives me control over the cutoff frequency: $$H(z)=\frac{1-\alpha}{2}...
1
vote
1answer
51 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 ...
8
votes
3answers
1k 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: ...
0
votes
1answer
52 views

Time-domain LPF not showing expected behavior

I am trying to implement a simple first-order Butterworth Low-Pass filter in Python. I have some code that makes use of scipy.signal.butter and scipy.signal.filtfilt. It works fine, but I wanted to ...
1
vote
1answer
44 views

Parallel Cascaded FIR Filters

I have a relatively simple question. I know if you connect multiple LTI systems in parallel, overall system's frequency response is the sum of each LTI system's frequency response. Therefore, what ...
1
vote
1answer
145 views

Detecting fundamental zero crossing point

I am looking for ideas from the more experienced members on algorithms for determining the fundamental zero crossing point of a 50 or 60 Hz signal. The fundamental zero crossing point is then used as ...
2
votes
3answers
284 views

How to Classify Image Filter as Low Pass Filter (LPF) or High Pass Filter (HPF)?

I am currently reading on the topics of image filtering and convolution kernels. While the process of convolution is clear to me, I do not understand, how one arrives at the statement, that a certain ...
0
votes
1answer
160 views

signal reconstruction [closed]

I'm new to DSP so the question might seem a little bit stupid: When using a low pass filter (say Butterworth filter) with Python, I came across an algorithm with which I can reconstruct my signal ...
1
vote
1answer
211 views

digital IIR filter delay and oversampling

Can oversampling decrease the delay of digital IIR filter? Imagine there is some digital signal going into processor that applies low pass filter.Lets say its 1 KHz sample rate and the filter is ...
1
vote
1answer
59 views

Problem with 1st order Massberg LPF [duplicate]

I'm trying to implement this filter in title by following the book "Designing Audio Effect Plug-Ins in C++" By Will Pirkle Problem I'm facing is the magnitude response error when comparing against ...
2
votes
2answers
103 views

Initialize Hi Pass Filter

I want to remove the DC from a ADC, so I designed a two-pole, 1 Hz high-pass Butterworth filter for a signal sampled at 10kHz. The filter coefficients are: ...
1
vote
0answers
120 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
1answer
59 views

Simple question about Sinc()

Suppose I use the ideal lowpass filter eq to attempt creating a IIR filter using it : $$ h[n] = \frac{\sin(\omega_c \, n)}{\pi \, n}, \qquad -\infty < n < \infty $$ Obviously, I can't really (...
0
votes
1answer
175 views

How can I determine the order of filter?

This is my first study about signal analysing. I'm very confused about filter order. My problem is how can I know whether its 12-th order, or 2nd order like the book says so? I already knew that slope ...
1
vote
1answer
725 views

How to filter out those outliers

I'm struggling to filter some data from an accelerometer. I need to do it in python (and not just on the device collecting the data) to fix the data I have, so that I can build some classification ...
-2
votes
2answers
78 views

How do you initialize the output of a second-order-section filter?

I've got a 4 stage second-order-section filter. When I turn this filter on, it assumes it is starting from zero and takes forever to converge on the actual signal. For example, let's say I have a ...
0
votes
1answer
57 views

CCDE processing vs. Scilab function

I have used Scilab functions to produce a low-pass filter for an audio signal and the coefficients for the associated constant coefficient difference equation (CCDE). I then produced filtered signals ...
1
vote
3answers
68 views

Usefulness of Practical filter ouptput

If a practical filter can't remove all unwanted frequency components like ideal filter, does that mean unwanted frequency component are still present after filtering? how can we use such distorted ...
1
vote
1answer
533 views

Frequency analysis to determine low-pass cut off frequency

I collected some data for a practical application, where the signal represents force data obtained from an impact of a punch against a force plate attached to a quasi-rigid rig (it moves once the ...