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 [fir]

FIR filters are filters with a finite duration impulse response.

-3
votes
0answers
7 views

EEG SIgnal Processing Using Anaconda Spyder Software

Find the band powers of given EEG signal according to the bands given in the figure, ‘​ eeg.txt ​ ’ ​ with the help of fir bandpass filters. (fs=250Hz)
-2
votes
0answers
15 views

I need help with this problem

I can't figure out c,d,e,f. Can I get some help?
1
vote
0answers
13 views

GnuRadio FM Receiver: Heterodyne vs Xlating vs Direct

I'm trying to build an FM receiver (and eventually transmitter) in GnuRadio that will be able to interact with my local repeater. Starting with WBFM (because I can consistently pull in broadcast ...
2
votes
1answer
35 views

Deconvolution of two FIRs

Basic questions: What's the "correct" way to deconvolve two causal FIRs in the frequency domain (i.e. using the FFT), neither of which may be minimum phase but both may be considered to have stable ...
0
votes
2answers
55 views

Convolution of Two Impulse Signals

I have encountered convolution of two different impulse signals. ...
5
votes
2answers
351 views

Pole-zeros of a real-valued causal FIR system

Could someone please help me with the following question? Below is the magnitude response of a real-valued causal linear phase FIR system of order N = 6. Determine the location of poles and zeros. I ...
0
votes
1answer
28 views

Generating FIR filter in Web Audio API

I'm creating an HTML that applies a low-pass Windowed Sinc filter with a window size of 8192 to white, pink, or Brownian noise. There are nine radio buttons, eight of which set a cutoff frequency and ...
1
vote
0answers
15 views

HRIR and DT Convolution

You have an experimentally-measured HRIR and an audio signal. And you wish to implement filtering using scientific libraries in Python such as numpy, scipy and matplotlib(for plotting) Question A) ...
0
votes
0answers
26 views

Python scipy firwin2 has a low frequency error when designing arbitrary amplitude filter

I've been trying to design an arbitrary amplitude FIR filter which has a specific attenuation for each frequency. However I get an error at low frequency when comparing the results to my expected ...
0
votes
0answers
48 views

How should I modify my filter coefficients for the filter to be unaltered, when I change my sample rate

I am guessing this is a commonly encountered problem, but I am lost on how to really solve it. I have FIR filter coefficients that are used to match the frequency response of data sampled at 3 kHz. I ...
0
votes
1answer
61 views

Calculating filter coefficients of a Moving average with error correction

I have an oversampling ADC where I need to correct Gain/offset errors 'during' each conversion. This also links to my previous question - Moving average and linearization of two piecewise linear ...
0
votes
1answer
71 views

Digital filter design of time series for specified frequency response function

I am currently working with vibration measurements in structures. In the netherlands there is a guideline for verifying vibration measurements for damage to machinery. This is the so-called "SBR ...
1
vote
0answers
24 views

Why is my resampled signal cutoff when resampling with a windowed FIR filter in MATLAB?

I have an exercise to write a function which upsamples or downsamples a signal by a factor of F (integer) using a FIR filter windowed with a Kaiser window function. Exercise I had last week included ...
0
votes
0answers
12 views

GLP type three filter of order k, amplitude response?

Given a GLP type three filter of order K, with an amplitude response of |H(theta)|. I need to show that the number of real and causal FIR filters(identically different) of order K, with the same ...
1
vote
1answer
121 views

Explanation of FIR and IIR Filters with Simple Words

It seems I am unable to understand how these filters work and what is the point of using them, no matter how many tutorials I watched. Could someone please explain, in simple words, what FIR and IIR ...
1
vote
1answer
74 views

Numerical Calculation of impulse response out of frequency response

Currently I work on my Masterthesis which deals with structural dynamic simulation. As a part of it I have to filter a Signal with a FIR-Filter. From that Filter I know the Frequency Response (picture)...
2
votes
1answer
60 views

Hidden zero in system equation $H(z)$

An FIR linear phase filter has unit sample response $h[n]$ that is real with $h[n]=0$ for $n < 0$ and $n > 7$. If $h[0]=1$ and the system function has a zero at $z=0.4e^{j\pi/3}$ and a zero at $...
0
votes
0answers
49 views

Bandstop FIR Filter in Matlab

I need to design a Bandstop FIR filter and find its impulse response & frequency response in Matlab. I was thinking that, for the impulse response, I should filter my FIR filter with a delta ...
1
vote
2answers
45 views

What version of sinc function to use ? (With additional factor of $\pi$ or not.)

I have an exam tomorrow on Signal Processing and one of the questions can go two ways: Use a Hamming window to design an Nth th order (N+1 tap) band pass FIR filter with a pass-band between $f_0$-$...
0
votes
1answer
54 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
2answers
44 views

What should be the cut off frequency of a Filter operating on an OFDM signal?

I have a time domain OFDM signal and to this I need to apply different linear filter however I am not sure on the cut off frequency. I am simulating for multiple symbols where each symbol has 1200 ...
0
votes
0answers
20 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
236 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 ...
2
votes
2answers
95 views

Frequency response of numerical differentiation by polynomial interpolation / finite difference

One can use polynomial interpolation (or finite difference) to do numerical differentiation. However, there seems to be a surprising lack of interest in obtaining frequency response of this numerical ...
0
votes
1answer
59 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
2answers
61 views

Is Parks-Mcclellan algorithm guaranteed to stop?

Is there any guarantee that Parks-Mcclellan eventually stop? If so, is there any formula that shows number of maximum interations that ensure that the algorithm stops?
0
votes
1answer
163 views

FIR butterworth also possible or just IIR?

can we use butterworth and other such filters like chebyshev,elliptic etc with FIR or they can be only used with IIR?
0
votes
0answers
29 views

Group delay emulation in GNU Radio

I'm trying to test an equalizer against group delay distortion of a satellite communication link. According to the CCSDS standards, It is agreed to simulate high-order modulation system with in-band ...
1
vote
1answer
76 views

Design of FIR and IIR filters in Matlab

I need to create 4 different pass-band filters. What remains the same throughout is the following: Sampling Frequency = $3000Hz$ Pass-band Frequency = $900Hz-1200Hz$ Now, these are the filters I ...
0
votes
1answer
25 views

Deconvolve a FIR-filter using limits? Or: Are limits distributive with the inverse fourier transform?

Given $y[n] = f[n] * h[n]$ where $y[n]$ and $f[n]$ are two one-dimensional discrete signals that are given, find out: if $h[n]$ is a FIR-filter if it is a FIR-filter, what its kernel is. Obviously, ...
1
vote
2answers
77 views

How to efficiently control an FIR's magnitude response by altering its phase spectrum

Question: Extensively searching the space of all possible vectors of length $n$ to satisfy a (non-overdetermined) requirement is possible in principle. Hence, there is a way to calculate a complex ...
1
vote
0answers
50 views

FIR Audio Equalizer Crackling Noise

I've implemented a few FIR filters into a song equalizer, but there seems to be a crackling that I'm unsure how to fix. Heres a video for reference: https://www.youtube.com/watch?v=IlzWRYpv0rk. Noise ...
1
vote
1answer
59 views

FIR filter to delay signal [duplicate]

About filter design, mostly we want to control frequency amplitude response and the linearity of phase response. I wonder whether there are FIR filters specialized to delay signal? For instance, let'...
2
votes
1answer
52 views

Does a linear phase FIR filter shifted in frequency preserve linear phase?

Let's say I have a symmetric (and therefore linear phase) FIR low pass filter with real coefficients. If I then shift this filter in some direction in frequency by multiplying its coefficients with a ...
-2
votes
2answers
661 views

How to find the impulse response of a filter, given the difference equation?

What is the impulse response of the system: $$ y[n]= \frac{16}{26T} \left(-\frac{1}{16} x[n] + x[n-2] - x[n-4] + \frac{1}{16} x[n-6] \right)? $$
1
vote
1answer
78 views

mpiir_l2(): Results are not IIR but FIR filters - why and how to avoid this?

I'm using mpiir_l2() from user Matt L's PhD thesis to design IIR filters. I set the number of numerator and denominator coefficients both to the same value (between ...
1
vote
1answer
47 views

Does the output signal from the FIR filter have transient response?

In matlab, I have shown the signal passed through the FIR filter in the time domain. Then the beginning of the signal is like the transient response. Is the result appropriate?
5
votes
2answers
73 views

Practical Least Squares FIR filter design: How to find a realistic desired response

I'm using Matt. L.'s lslevin.m function to design long ($N\approx 400$) filters to an arbitrary phase and magnitude specification. The specification is the result of a numeric optimization and does ...
4
votes
1answer
148 views

FIR design for arbitrary magnitude and phase: Why can I separate real and imaginary parts like this?

In this question about the design of a FIR filter with arbitrary magnitude and phase specifications user robert bristow-johnson suggested to split the desired complex frequency response $H$ into its ...
0
votes
1answer
111 views

Recursive form representation of FIR filter

Do we have methods to represent FIR filter in recursive form? One of the methods that I know is frequency sampling method. Can someone provide me any method?
3
votes
0answers
76 views

How to implement the RLS for matrices

I need to implement the RLS algorithm but it's for matrices instead for vectors, I have made the below code, but still something wrong is not working well, EDIT: The code should be done as below, ...
0
votes
1answer
47 views

3-tap FIR filter: simple expression for $H(e^{j\omega})$ using trigonometric identities

We have a linear time-invariant system described by the input-output relation $$y[n] = x[n] + 2x[n - 1] + x[n - 2]$$ Below is my approach to analyze this system. The impulse response of this system ...
-1
votes
1answer
168 views

Low pass filtering of an upsampled(zero inserted) signal

I have been working on interpolation in python from quite some time. The input signal is a sinusoid signal sampled at 933KHz. I am upsampling the signal by a factor of 5 and later using an FIR ...
1
vote
1answer
104 views

Fast Optimization for Long FIR Filters

I need FIR filter lengths in the order of 1e4 and above to obtain reasonable accuracy in desired frequency response. The problem is that optimisation in MATLAB (e.g. fircls or the Optimization Toolbox)...
1
vote
1answer
151 views

What is the difference between closed form and opened form in z transform

I am new in DSP and I need to have a clear udrastanding about below example. Consider the below $h[n]$ as the impulse response of a system: \begin{equation} h[n] = a^n(u[n] - u[n-N]) \end{equation} ...
0
votes
1answer
193 views

Dithering adds harmonic distortion after filtering and upsampling

I have an issue which I wasn't able to solve for a few days. I have implemented a polyphase FIR interpolation filter within an FPGA which does interpolate by a factor of 8 or 16 times. I do accept an ...
1
vote
2answers
143 views

How to compare many bandpass filters (for their signal propogation delay)?

Let's say we have an audio signal sampled at 96 kHz, and we want to compare several bandpass filters to find the one with the lowest rectangular-envelope-propagation-delay (see graph below). The band ...
1
vote
1answer
198 views

What is an “innovation filter”?

I'm a math postgrad student working through a paper on eigenvalue decompositions of matrices of FIR filters (used for stuff like total decorrelation, convolutive mixing, MIMO). Towards the beginning, ...
1
vote
1answer
42 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
113 views

Design of a complex FIR filter

For apply least-squares linear-phase FIR filter design,with frequency domain specification is not symmetrical. The pass-band error function, $$E(\mathbf{h})_p=\int_{\omega_{p_1}}^{\omega_{p_2}}| \...