# 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.

523 questions
Filter by
Sorted by
Tagged with
8 views

### Low-pass filter on PDM data provides data that does not have a FFT

I'm trying to convert PDM data into analog form by passing the data through a low-pass filter in Matlab. My approach is fairly simple and matches the answer given in this Electrical Engineering Stack ...
45 views

### number of multiplications per second required by the system

Consider a system implementing a rational sampling rate change by 5/7: for this, we cascade upsampler by 5, a lowpass filter with cutoff frequency π/7 and a downsampler by 7. The lowpass filter is a ...
41 views

### minimum oversampling factor for D/A converter

Consider a D/A converter for audio signals consisiting of a zero-order-hold interpolator followed by a continuous-time lowpass filter with positive passband between 0 and 20KHz and stopband starting ...
22 views

### What is the difference between FIR1 and FILTFILt in MATLAB?

In MATLAB there are filters with 0 phase filtfilt and ordinary FIR1. When I filtered a group of simulated data, I found that filtFilt was superior to FIR1 in terms of phase delay. I know the ...
31 views

### Determining the right order of time-domain low pass filter for desired cutoff frequency

I've been stuck on a problem regarding complex demodulation of a signal for a while and wondered if anyone could help. Suppose I have a signal $X(t)$ such that \begin{align} X(t) &= A(t)\cos(\...
21 views

### Number of multiplication operations needed in rational sampling rate change with IIR Butterworth filters

I am trying to get a general sense of how many multiplication operations are needed for a 4th-order Butterworth filter (IIR filter) with a rational sampling rate change. I am excluding any ...
78 views

### What are the advantages and disadvantages of Kalman filter compared with FIR, IIR and low pass filter to filter data with noise?

It is known that the Kalman filter can filter the data with noise. I also find it works well after using it compared with FIR, low pass filter,etc. Now, I have a couple of questions about the ...
42 views

### Design of a low pass filter with Red Pitaya's FPGA

I'm trying to design a low pass filter in Verilog for use on a Red Pitaya's FPGA (Xilinx® Zynq®-7010). All I'm trying to get the low pass filter to do is to obtain the DC component in the signal. The ...
33 views

### Complex signal low pass filter

I'm trying to implement a low pass filter in python for a complex signal but the output doesn't look right. I've created a simple example below where I've mixed a 15Hz complex sine wave and a 30Hz ...
32 views

### Problem with implementing DC offset for streaming data

I am new to the DSP world. I'm trying to run a raw input signal through a LPF, remove any DC offset, amplify the signal, and then decode the signal. The problem with my code seems to be the ...
19 views

### Low pass filter output

What will be the output when a square wave of time period 1sec is applied to the input of LPF of cutoff frequency 1Hz. Please help me, I am not getting the exact expression. What if cutoff of LPF is ...
52 views

### Filtering a square signal with a median filtering to preserve the edges

If needed, you can find my first post for this problem here. I am trying to clean the following signal: As proposed in the comment, I tried to use this post proposing 2 methods: median filtering and ...
42 views

### Applying a lowpass filter to a noisy square signal leads to a shift of the signal

My knowledge of analog and digital signal analysis is behind me.. thus I do not have enough confidence in my procedure to analyze my signal, and I do not know which direction to pursue to improve. I'm ...
34 views

### What is the cut-off frequency for this low pass filter? [closed]

I don't have any background in analog lowpass filters; and I am curious how can i decode this circuit.
116 views

### Do you recognize this discrete realization of a low pass filter?

I have a simple 1st order lag filter implementation that performs well, shown in the block diagram below. This is legacy 'code' we've been using for many years, the original developers have long ...
38 views

### How does window length influence cut-off frequency of filter and group delay?

I'm attempting to interpret the following function. To my understanding, this aims to implement an FIR low-pass filter with a Nuttall window. Then, it filters the signal by a simple application of the ...
28 views

### Design of Parks-McClellan Lowpass Filter

Can we design Parks-McClellan Lowpass Filter with only sampling frequency of 12KHz and cutoff frequency of 4KHz and order of 30? I went through Matlab help, where we need parameter like passband ...
63 views

### How does this represent a low-pass filter?

I am faced with the following code snippet to get an understanding of a F0 estimation algorithm (DIO). Have a quick look below: ...
59 views

### Low pass filter implementation with programmable cut-off frequency for inclinometer

My application is an inclinometer. I would like to design a low pass filter with programmable cut-off frequency ranging from 0.1Hz to 20Hz using CMSIS DSP library provided by ARM. The filter may be ...
48 views

### Coefficient weights of Simple Moving Average (SMA) on SMA

A simple moving average (SMA: arithmetic mean) is a low-pass FIR-filter. When you cascade 2 SMA's with a window of length $n$, so when you apply the second SMA on the output of the first SMA, and you ...
45 views

### Result length and width of a lowpass FIR filter

I am designing a 50-tap lowpass FIR filter in Verilog. I have a really simple use-case: I have a vector that is the sum of two sine waves, and I want to filter the higher frequency one out. My data ...
39 views

### signed 2's complement of a negative number for Integer = 3 and Fraction = 9

I am working on signed 2's complement for my fractions coefficients. Below code can be used for positive inputs. However for a negative 2's complement when I added LSB with 1, then an error pops. I ...
54 views

### Moving Average Filter's Magnitude Response

I am working on filtering of data using the Moving average filter in MATLAB. My data is recorded temperature values on the Y-axis and Time(in seconds) on the X-axis (I'm getting the magnitude response ...
69 views

### Frequency conversion in IIR lowpass-to-lowpass transformation

We use $\ z^{-1} \xrightarrow{} \frac{z^{-1}-\alpha}{1-{\alpha}z^{-1}}$ and $\alpha = \frac{\sin(\omega_c^{'}-\omega_c)/2}{\sin(\omega_c^{'}+\omega_c)/2}$ for a lowpass-to-lowpass frequency ...
41 views

### How to derive 2nd order Butterworth condition for the damping coefficient mathematically?

The magnitude of 2nd order low pass filter is given as $$|H(\omega)|^2= \frac{1}{(1-(\frac{\omega}{\omega_o})^2)^2+(\frac{2\zeta\omega}{\omega_o})^2}$$ Now in order to achieve maximally flat within ...
53 views

27 views

### Why is the frequency measured in radians in filter design?

This is my first time posting a question, so sorry if my articulation is not proper. I'v just started out with FIR filter design and I see the domain being -$\pi$ to $\pi$. Now I understand that ...
38 views

### Next steps for analyzing this PWM algorithm and choosing a low pass filtering technique?

The Broadcom BCM2711 GPIO controller used by the Raspberry Pi has a hardware PWM implementation option using an algorithm that provides an average value defined by a rational fraction $N/M$ defined as ...
20 views

### Partially aliasing in Signals

I have read a paper about super resolution where signals are used that are partially aliased. here the paper If the sampling rate is smaller than the 2*max frequency but greater the max frequency, ...
27 views

### Filtering via Convolution and Multiplication… Why different results? *Code and image*

Image and MATLAB code are below. I am doing Complex Down Conversion (IQ Sampling) to 0 Hz and using a Low Pass Filter after it to remove an unwanted conversion product. I start with 500-1000Hz ...