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.

1
vote
1answer
36 views

FIR filter not eliminating out of band noise?

I have a simple FIR filter that should eliminate all lower frequencies: ...
2
votes
1answer
44 views

Plotting the frequency response of a FIR filter

I am trying to figure out the mechanics of plotting the frequency response of a FIR filter. For example, I have used an algorithm (Parks-McClellan), to generate a low pass FIR filter with an even ...
0
votes
0answers
25 views

Filter Design with DSPIC

Good Morning! I am new to digital signal processing, And I am currently working with DSPIC33F. I used Matlab design Filter to extract the coefficients of the filter. My Problem is within my Data ...
0
votes
1answer
34 views

FIR filter design with time and frequency domain constraints

I deal with the problem of the synthesis of the filter with the requirements of both the frequency and time characteristics. Now there is a filter that meets the requirements. Roughly speaking the ...
0
votes
1answer
47 views

How to prove a filter has linear phase response?

I have designed an FIR filter to have linear phase response using odd-symmetry design. The coefficients of this filter are {2,1,3,1,0,-1,-3,-1,-2}. I am now being asked to prove it has linear phase ...
0
votes
0answers
23 views

what should the the output of an FIR filter (root raised cosine) look like?

I am implementing a filter that is FIR on verilog HDL ,, I understand what happen in the filter well, I mean the delay, multiply and sum, the problem that I can't imagine how can I get the desired ...
0
votes
0answers
12 views

FIR Kaiser Window Discrete Time Filter Design

Please look at Part (c) of the question. How do we know that the Filter is a Low-pass or High-pass and is the filter designed in C a multi-band-pass filter.
1
vote
0answers
17 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
66 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 ...
-1
votes
2answers
62 views

Convolution of Two Impulse Signals

I have encountered convolution of two different impulse signals. ...
5
votes
2answers
363 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
32 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
16 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
30 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
63 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
98 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
26 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
160 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
87 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
60 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
48 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
63 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
45 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
22 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
431 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
104 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
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
2answers
67 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
302 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
31 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
89 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
79 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
54 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
75 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
68 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
911 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
81 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
59 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
80 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
163 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
130 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
90 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
50 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
195 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
111 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
201 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} ...