Questions tagged [fir]

FIR filters are filters with a finite duration impulse response.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

FIR Design by Frequency Sampling [on hold]

I need to write an m-file FScos.m with input arguments M (filter order) and H (a vector of frequency-response sampIes) to implement the design given by , and another m-file FSsin.m to implement . I ...
2
votes
0answers
75 views

FFT strong signal in middle frequency bin

I've developed a radar that I'm using to determine the distance to remote objects. It uses a custom PCB with an onboard FPGA that performs the DSP algorithms. The data from it is then plotted on a ...
0
votes
2answers
33 views

How to reliably compute the group delay of a comb filter

I applied the following FIR comb filter in real-time: y[n]=x[n]-x[n-40] Since this is an FIR, the group delay is D=(N-1)/2=20 samples. After applying the filter ...
0
votes
1answer
26 views

FIR filter format - Brutefir - Volumio

I am trying to compensate for the high frequency droop of a TDA1543 based nos DAC. One straightforward method is described here: https://www.diyaudio.com/archive/blogs/abraxalito/869-using-audacity-do-...
0
votes
1answer
44 views

How to Determine if FIR has a Linear_Phase Response w/o Matlab

Given the FIR transfer function: h(z) = $ .36 + .384z^{-1} + .1608z^{-2} +.9712z^{-3} + .352z^{-4} + .18z^{-5} - .2z^{-6} $ How do you determine if this transfer function has a linear - phase ...
-1
votes
1answer
26 views

What exactly is stored in “output” variable in the FIR Filter code below? [duplicate]

What exactly is stored in "output" variable in the FIR Filter code below? ...
1
vote
1answer
53 views

What are the limitations of FIR filters?

I know that for type II FIR filter it adds a zero at $z=-1$ so it cannot design a high-pass filter. My question: what type of limitations the other types have (type I, III, IV)?
-1
votes
1answer
36 views

What exactly is stored in the buffer array in the code below? Is it the values of x[n-k] or something else?

What exactly is stored in the buffer array in the FIR Filter code below? Is it the values of x[n-k] or something else? ...
1
vote
2answers
143 views

Finite impulse response FIR filters

If H(Z) is linear phase FIR filter, then what can 1/H(Z) represent? Can it be causal and stable? Can it be stable if it is not required to be causal? I think it represents non linear phase FIR ...
3
votes
0answers
121 views

Converting an FIR Filter Model to a State Space Model for Kalman Filtering

I want to try and determine the true value of a quantity $\alpha[k]$ from observations of a related quantity $\vartheta[k]$ using a Kalman filter. The observations are of the following FIR filter form:...
2
votes
1answer
51 views

Linear phase FIR filter for impulse responses that don't appear symmetric

I would like to clarify some confusion I have about linear phase FIR filters of which do not seem to have symmetric impulse responses. Starting with a simple case, a delay, $ h[n] =\delta(n-n_0) $ ...
0
votes
0answers
29 views

Wiener Filtering to perform minimum mean square estimation

As the Title suggests, I am trying to design a Weiner Filter for getting the lower bound on my LTE channel estimation algorithm. To give you a high level on the chain, First after generating the ...
0
votes
1answer
29 views

Find the length of the impulse response of a Linear Phase Type 4 FIR filter

The length should be found such that the group delay is minimum It is given that the impulse response is real. One zero of the Transfer function is at $0.6e^{j\frac{\pi}{4}}$, and another one is at -...
0
votes
0answers
40 views

FIR bandpass filter for complex baseband signals

I am DSP newbie and I need to apply a bandpass filter to the complex baseband signals of bandwidth 20MHz and sampling rate 61.44 MHz. Below is the octave code for the same and I have obtained ...
1
vote
1answer
69 views

What is the peak resonance of convolving with a sine FIR filter?

I'm trying to improve my understanding of FIR filters. As an experiment, I've manually created an FIR filter, whose coefficients follow exactly one period of a sine wave. I'm wondering what is the ...
0
votes
2answers
55 views

FIR or IIR filter from poles and zeros

Is it possible to differentiate between FIR and IIR Filter just by knowing the poles and zeros of the system? If yes, how? If not, why? Thank you.
1
vote
1answer
78 views

Understanding a lowpass - comb filter implementation

I try to understand the implementation of the low-pass comb filter of the Freeverb reverberation algorithm: https://ccrma.stanford.edu/~jos/pasp/Lowpass_Feedback_Comb_Filter.html The original ...
0
votes
0answers
38 views

Magnitude attenuation by a filter

I have a filter, with coefficients given by W=sin((2*pi*2*Ff*k/Fs)/(2*pi*2*Ff*k/Fs))*h(k), where Ff is the filter reference frequency, k runs from -N/2 to N/2 (N is the order of the filter), Fs is the ...
1
vote
2answers
52 views

How would one design a (quasi) linear phase adaptive notch filter for a single complex tone?

While IIR notch filters are attractive, I need to retain phase linearity at the filter output. I imagine that it's possible to use a standard IIR notch filter: https://www.researchgate.net/...
0
votes
0answers
33 views

Interpolation FIR filter Remez design criteria

I want to upsample an audio signal by a factor of 8. The technique I was going to use was to upsample by zero stuffing and then interopolate using a low pass anti-aliasing FIR filter designed using ...
0
votes
1answer
22 views

Matlab applying an FIR filter to a signal, generated in Matlab

I want to create an FIR in Matlab and apply it to a signal (also generated in Matlab). You will find the code below. I will put my questions in order from here. 1) The filter coefficients vector "b" ...
0
votes
1answer
46 views

MATLAB fir2 - npt and lap

This might not be the right place to ask this, but I'm hoping someone can explain two of the arguments in the MATLAB fir2 function. It is a function for designing ...
0
votes
1answer
31 views

Get FIR Hilbert coefficients from Matlabs envelope() function

How can I get the used Hilbert filter coefficients from the Matlab function envelope()? ...
0
votes
1answer
43 views

Length of Matlab Raised Cosine Filter Output Complex Vector

If I instantiate in Matlab a filter, a vector, and use them in the following way: ...
0
votes
2answers
81 views

All-pass filter usage in automotive room correction

This may not be the right place to ask this question but I'll give it a shot anyways. Maybe someone here is an audiophile. I'm using a DSP called Audison Bit One HD which uses FIR filters for ...
0
votes
1answer
48 views

Attenuate the low frequencies in a speech wave

I am designing an FIR filter to attenuate the frequencies below 300Hz. I designed the filter using the ...
0
votes
1answer
37 views

Design the coefficients of Wide-band FIR filters [closed]

It will be a great help if someone could share a content/tutorial about how to design the coefficients of Wide-band FIR Filters.
1
vote
1answer
137 views

Why Wiener filter not IIR

I would like to limit discussion to discrete time causal Wiener filter. By definition it is an FIR filter, and it also has optimality under Mean Square Error criterion within the class of linear ...
0
votes
0answers
48 views

System identification with limited bandwidth

Given a FIR filter $h[n]$. Its action can described as: $$ \mathbf{y} = \mathbf{H} \mathbf{x} \\ \mathbf{y} = \mathbf{X} \mathbf{h} $$ where $\mathbf{H}$ and $\mathbf{X}$ is a Toeplitz matrix. If $h$...
0
votes
1answer
83 views

Side Lobes in the Magnitude Response of a Low Pass FIR Filter

I have the impulse response (from the filter coefficients) of an FIR filter obtained from MATLAB's "interp" function using the command: [y, b] = interp(x, 5); % where b contains the interpolation ...
0
votes
1answer
53 views

Low-Pass FIR that keeps all values positive

Let's say, that I want to low-pass the norm (hence positive values) of an analytic signal (related to Hilbert transform). This allows me to perform experiments with the envelope of audio. For low-...
1
vote
1answer
71 views

Designing an FIR filter in Matlab with differing number of precursor taps and postcursor taps

I'm trying to fit an FIR filter to the measured frequency response (magnitude and phase) of a device. The frequency response is essentially a low-pass filter. I'd like to vary the number of taps to ...
0
votes
1answer
45 views

Notch filters: why is $H(e^{j0}) = H(e^{j\pi})$ required?

I'm studying for the final exams and many example exercises require to design fir notch filters of length 5, given some passband and some stopband frequencies. You'...
0
votes
0answers
34 views

How to design a bandpass FIR filter?

I want to design a bandpass filter (BPF) using a FIR filter by the window method. I have $f_{c1} = 3\, \mathrm{kHz}$, $f_{c2} = 6\, \mathrm{kHz}$ and slope is $-80\, \mathrm{dB/dec}$. How can I find ...
0
votes
0answers
30 views

Filter design for decimation of 1.1 kHz sensor sample rate to 100 Hz processing rate

Suppose, you have a signal source which is sampled by 1100 Hz and is "somehow" band limited to either 235 or 440 Hz. In my application, that's the ST IIS3DHHC accelerometer. There is an appnote for ...
1
vote
1answer
34 views

Plotting phase delay from first principles giving different result from phasedelay() function. Why?

I have a length 10 Finite Impulse response as shown below, and I am trying to find the phase delay of this FIR. $$h[n]=\begin{cases}0.1,& 0\le n \lt 10\\ 0,&\textrm{otherwise}\end{cases}$$ I ...
1
vote
1answer
65 views

FIR filter not eliminating out of band noise?

I have a simple FIR filter that should eliminate all lower frequencies: ...
3
votes
1answer
144 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
48 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
60 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
219 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
32 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
30 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
38 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
97 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
129 views

Convolution of Two Impulse Signals

I have encountered convolution of two different impulse signals. ...
5
votes
2answers
428 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
78 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
30 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
44 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 ...