Questions tagged [infinite-impulse-response]

Infinite impulse response (IIR) is a property of signal processing systems.

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

Adaptive Line noise removal using IIR notch filters

I'm trying to filter out line noise(60Hz and 120Hz) from a EEG signals received over a bluetooth link. I'm proposing to use a IIR notch filter to filter out the line-noise which varies w.r.t to ...
0
votes
1answer
210 views

Changing the cutoff of an IIR lowpass filter with minimal transients?

I have a 1st order lowpass IIR filter of the form $ H(z) = \frac{b_{0} +b_{1} z^{-1}}{1+a_{1} z^{-1}} $ implemented using the direct method my code looks something like this ...
1
vote
2answers
1k views

Understanding Arrangement of second order sections

When splitting higher order recursive filters into more convenient 2nd order sections (biquads), in matlab, we usually use zp2sos to convert. In document, there's a ...
1
vote
2answers
2k views

How to design a filter with custom group delay — why is it an IIR?

Say I have an FIR filter with desired magnitude characteristics. I could imagine using an allpass IIR in series with the FIR to alter the group delay characteristic to provide both a 'magnitude ...
1
vote
1answer
146 views

Help on implementing an IIR filter

I am new to signal processing and and having difficulty understanding how to implement an IIR filter. The reference is athttp://www.dxatlas.com/rocky/Advanced.asp in the Band scope section. It ...
1
vote
2answers
1k views

Polyphase decomposition of IIR filter

Is there a way to decompose IIR filter into set of poly phase components, that are All pass. E.g. a an IIR filter of order M, can be decomposed into a cascade of All zero filter of order 2*M( which ...
2
votes
2answers
243 views

Is there a widely available implementation of an adaptive, recursive, numerically stable IIR filter?

I need to identify the coefficients of a linear, causal, time-invariant physical system that can be described by a classical state-space formulation. For the sake of the example, suppose that the ...
24
votes
2answers
34k views

Applying filter in scipy.signal: Use lfilter or filtfilt?

I saw in a SO thread a suggestion to use filtfilt which performs backwards/forwards filtering instead of lfilter. What is the ...
0
votes
1answer
1k views

Biquad Filter Transfer Function Frequency Response

$H(z) = G\cdot\displaystyle\frac{2b_0\left(1-z^{-2}\right)}{1-2a_1z^{-1}-2a_2z^{-2}} + 1$ I have a data sheet with the above transfer function, I need to calculate its frequency response in code. I ...
0
votes
1answer
2k views

FIR vs IIR complexity

IIR filters have feedback whereas FIR filters don't use feedback. Then why is it said that FIR filters sometimes have the disadvantage that they require more memory and/or calculation to achieve a ...
0
votes
1answer
183 views

Identify the system from input and output

I am using Excel. If I have an input and an output, and I know that a recursive band-pass filter produced the output, how can I can find the coefficients of that filter?
1
vote
0answers
395 views

Realization of IIR resonator

The measure of a given frequency $\omega$ in a signal $x(t)$ is: $\frac{1}{N}\sum\limits^N_{t=0}x\left(t\right)e^{^{-i \omega t}}$ This is basically an average of the correlation between the signal ...
0
votes
0answers
259 views

Transient cancellation in non causal filtering

I am using the exponential moving average filter (IIR): $$y(n)=\alpha{}\cdot{}x(n)+(1-\alpha{})y(n-1)$$ in a foward-backward filtering scheme, in order to eliminate completely any phase response ...
0
votes
1answer
671 views

Difference equation and Impulse response of an IIR filter - deconvolution

Given the input to the IIR filter $$ x[n]=\delta [n]+0.25\delta[n-2205], \quad \text{where}\quad \delta[n]= \begin{cases}1, &n=0\\0, & n\neq 0\end{cases} $$ What I want to do is to design an ...
0
votes
3answers
725 views

FIR / IIR and Wavelets

I am a self-learner of DSP by reading various books. I have accomplished basic understanding of Signals - CT and DT and a few transforms. I recently started to learn FIR / IIR Filters. The part that ...
1
vote
3answers
698 views

Filtering out unwanted square wave (Radio: DCS/DPL signal)

I've need to remove a DPL/DCS signal from a recording. Roughly speaking, a DCS signal is a low frequency (67.15Hz) square wave sent at the same time, over the same carrier, as speech. Because it is a ...
1
vote
0answers
99 views

Deriving finite impulse response for polylogarithm

As a part of my research i have to use the following z-transform in matlab 'filter' function so as to derive the convoluted signal from the original one. $$\frac{1}{{\rm Li}_{k}(z^{-1}e^{-b})}$$ ...
1
vote
1answer
1k views

How to Find the Frequency Response of a Communication Channel from Input and Output Symbols in MATLAB?

I want to find the channel frequency response of a digital communications system. I have the functions of the input symbol (a triangle) and the output symbol - a distorted triangle: $$\dfrac{1}{1 + \...
0
votes
1answer
185 views

Understanding IIR , Low Pass, High Pass, Chebyshev, Elliptic Filter? [closed]

I see these terms everyday in every lecture, I do read stuff from wikipedia, follow lecture notes, study solved exercises. All in all I do have a rough idea about these, I know a little from ...
0
votes
2answers
1k views

Matlab - Creating a characteristic for Peak and Shelving filter

I have designed few shelving and peak filter. And I have calculated the a, b coeficients for several gains for these filters. Now I would like to create some kind of characteristic in Matlab so I ...
3
votes
2answers
2k views

IIR oscillator produces stable output in MATLAB, unstable on chip, how do I tune it?

I'm trying to make an oscillator using IIR filter and I'm having problems tuning it so that it's stable on the platform I'm using (ARM Cortex M4F and CMSIS DSPLib's arm_biquad_cascade_df1_f32). Note ...
3
votes
1answer
952 views

Design $ {L}_{2} $ Norm Optimal Infinite Impulse Response (IIR) Filters

It is widely known that matching a FIR filter of fixed length to a band model is an unconstrained QP-problem. The MATLAB function firls() implements a solution to ...
2
votes
1answer
901 views

IIR filter that is causal and stable and has more phase lag at lower frequencies

I have a physical system consisting of a microphone, which feeds to a DSP, which drives a speaker. The microphone and speaker system have an amplitude response or gain, as well as a phase response, ...
1
vote
1answer
2k views

How can I detect if a filter is FIR or IIR according to impulse response graph?

I have the following two graphs but I don't know how to recognize from the graph if they are IIR or FIR! Can you please guide me through? P.S.: Does MATLAB have a function to detect if an impulse ...
1
vote
0answers
366 views

IIR biquad coefficients for negative frequencies in IQ data?

Assume I have a (single real float channel) biquad IIR filter implemented in C, and some coefficients for a bandpass filter (right out of RBJ's cookbook). If I convert the input, output, data path, ...
2
votes
2answers
2k views

Criteria to distinguish FIR and IIR filters from difference equation?

What criteria should be used to safely decide if it is an IIR filter or FIR filter from a difference equation? FIR filter are always stable, meaning all poles are inside the unit circle AND have pole-...
2
votes
1answer
443 views

How Is the MATLAB `filter()` Function So Fast?

How is the filter() implemented in MATLAB? How is it so fast? What's the fastest implementation of a FIR filter?
5
votes
2answers
618 views

Understanding $\mathcal Z$-transforms and pole locations

I am trying to gain a better understanding of pole locations in the $z$-plane of a given discrete transfer function, $H(z)$. I think I have a pretty good understanding of how to use the $\mathcal Z$-...
0
votes
2answers
192 views

Using goertzel confuses me

I am having some troubles understanding the algorithm. My algorithm looks like this. how come am i able to compute the DFT coefficient using this algoritm. As far as i know $$ X[k] = \sum_{i=0}^{...
1
vote
1answer
851 views

Matlab SOS Filter in C++

I'm struggling to validate that my C++ implementation of a filter I designed in Matlab is correct. My first issue is to make sure I'm implementing the sections in the right order. This is the output ...
0
votes
1answer
92 views

Is it possible to implement FIR band pass filter using two FIR band stop filters?

I am trying to filter a signal using a given FIR band stop filter. I have to implement a band pass filter. Assuming I want to get the signal between normalized cutoff frequencies [0.2,0.3] - can I ...
1
vote
1answer
91 views

Can I compute my IIR faster given limited possible input values?

I have an IIR routine in C++ I'm trying to speed up. Currently I'm using a DF2 implementation. Since my input signal will always be either 1.0 or -1.0 is it possible for me to optimize the algorithm, ...
0
votes
1answer
1k views

Calculate cut-off frequency of lowpass IIR-filter

Given a an IIR lowpass-filter in z-space: $ H(z) = \frac{\sum_{i=0}^P b_{i} z^{-i}}{1+\sum_{j=1}^Q a_{j} z^{-j}} $ How to calculate it's 3dB cut-off frequency? I about evaluating it's fourier ...
0
votes
1answer
397 views

Noise Equivalent Bandwith of IIR and FIR Filters?

How do you calculate the noise equivalent bandwidth for an IIR or FIR filter?
0
votes
1answer
3k views

Gain of FIR/IIR filters

What are the formulas for signal and noise power gain of digital filters (FIR and IIR)? For a FIR, I've seen in Harris' windowing paper that the DC gain is the sum of the filter weights. $$ G = \...
2
votes
1answer
547 views

Very first values of y[n] in an IIR filter

I use a simple biquad IIR filter : ...
3
votes
3answers
2k views

How can I prove stability of a biquad filter with non-zero initial conditions

Ok, so the situation is that I have a DFII biquad with some filter coefficients: \begin{align} w[n] &= x[n] - a_1*w[n-1] - a_2*w[n-2]\\ y[n] &= b_0*w[n] + b_1*w[n-1] + b_2*w[n-2] \end{align}...
1
vote
2answers
1k views

IIR issues when order is high

Thanks to all the people who helped me here, I finally achieved to implement a notch filter (*), with coefficients given by : http://www-users.cs.york.ac.uk/~fisher/mkfilter/trad.html When I do order=...
2
votes
1answer
2k views

simplest Notch filter in the world

What do you think of this notch / band reject filter for a very very narrow band ? ...
0
votes
1answer
254 views

Scaling of a notch filter

Let's say I have an IIR filter that is a notch type with a peak at -20db. How do I modify the coefficients of the filter so that the peak is at -10 db for example? I know I can scale the denominator ...
0
votes
1answer
2k views

Design of 10th order high pass filter using 2nd order biquads with Matlab and further substitution on to TI AIC3204

I am involved in designing a 10th order high pass filter with cutoff frequency 300Hz. My hardware AIC3204 has a 5 biquads of direct form I, 24bit coefficient so I have chosen the FDA (filter design ...
0
votes
0answers
304 views

IIR: get magnitude and phase from coefficients

i'm trying to plot 1)the magnitude and 2)the phase response of an IIR eq with only its coefficients. i've found somewhere that one can find the magnitude response starting with the transfer function :...
1
vote
0answers
82 views

interpolation of filter coefficients

i've read that it is possible to interpolate between two sets of filter coefficients (if they are close of course), but how to interpolate between two sets of coefficients which are of different ...
2
votes
1answer
92 views

Choosing inverse Z-transform equation, given that $|a|<1$

Given that $|a|<1$, then which of those inverse-Z-transform equations are we to use? I am leaning towards the first because (as I understand it), $z$ is merely a complex number that is evaluated ...
1
vote
1answer
232 views

Group cascading IIR filters of different orders

Is it possible to make one IIR filter from various cascading IIR filters of different orders? I know it is possible to do it from filters of the same order, but what about filters with different ...
2
votes
1answer
67 views

Stability varying with order

I have been doing some research into modelling acoustic spaces, and (with help from this site) I've managed to take the frequency response of fibrous layer model, convert it to a reflection response ...
2
votes
1answer
2k views

Designing an allpass IIR filter with arbitrary phase response

could you tell me step by step the algorithm to design an arbitrary phase response IIR allpass filter design ? I know Matlab uses a "brute force" algorithm to find an arbitrary group delay response ...
6
votes
1answer
1k views

Complex Least Squares FIR filter design using Levinson' s algorithm

i'm trying to implement an arbitrary IIR filter design. I'm decomposing all the algorithm into smaller pieces that i can test. I currently am on the part where it designs a FIR filter from an ...
4
votes
2answers
1k views

Least-squares digital IIR filter design (with arbitrary responses)

I'm studying the IIR filter design that is described in the book: Algorithms for the constrained design of digital filters with arbitrary phase and magnitude responses. You can get the code at page ...
3
votes
3answers
898 views

Berchin's FDLS arbitrary filter design algorithm

I'm trying to use Berchin's FDLS methods (for those that don't know what it is, it's a way to design arbitrary magnitude and phase of an IIR Eq) I tried different things but neither gave me what i ...

1
4 5 6
7
8