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 [filter-design]

Fiter design is the process of designing a filter.

0
votes
1answer
139 views

What is meant by Two pass FIR Filter?? (A basic question)

I have a confusion about what does a two pass FIR (bandpass) filter with order 40 means?? Passband frequencies are [8 13]. Type 2 FIR is same as two pass?? I have check some previous literature ...
0
votes
1answer
196 views

4th order butterworth filter using frequency response formula

I know this may be a kind of basic question, but I have my head wrapped over it for some time and hadn't found a solution. I want to generate the frequency response of a 4th order butterworth filter ...
0
votes
1answer
44 views

Measure 3-D length using smart-phone's accelerometer

I'm wondering if we can measure 3-D length only by our smart-phone's accelerometer. And we all know these low cost IMUs are not accurate. You can model accelerometer's error this way: $$ a = f*a' + g ...
2
votes
1answer
128 views

Estimate smartphone accelerometer bias

I was planning to develop Android / iOS applications that enable users to measure 3D length using their smartphones. According to this question, you need to know at least the time-varying bias that ...
0
votes
1answer
352 views

How to Apply Gaussian Filter to Raw Audio Files in Python?

I am recording raw files in python to later break them into phonemes, but the noise in the surrounding environment is hampering the result. So, there is a need to apply a filter to the recorded raw ...
0
votes
0answers
26 views

Creating a music note filter (notch/peaking)

I'd like to make a filter which essentially masks the spectrum except for frequencies around music notes in the standard tempered scale, i.e. $frequency \in 110 \times 2^\frac{i}{12}, 10 \le i \le 64$,...
1
vote
1answer
169 views

Implementation of halfband pass filter

I need to interpolate a complex valued bandlimited periodic function using local interpolation. I can have the signal sampled at any frequency I want over at equispace intervals. I am aware that for ...
0
votes
1answer
527 views

removing vertical lines in grayscale images by thickness

Suppose we have a grayscale image that contains vertical lines. Now suppose that not all vertical lines are the same, some of them have different thickness. Question is, is there a way, in MATLAB or ...
0
votes
1answer
217 views

Interpolated FIR filter group delay

I'm trying to design a digital low pass filter with a narrow transition band. My sampling rate is 25 kHz, the cut off frequency is 60 Hz & the transition band width is 4 Hz. I'm looking for about ...
3
votes
1answer
191 views

State-Space Representation of Forward and Backward Filters

In [1], the author shows an efficient way of implementing the forward and backward filter using matrices. One can also implement this using filtfilt command in ...
0
votes
1answer
164 views

Arbitrary Phase FIR design using FFT

I want to design a digital FIR filter to cancel the phase of an analog Butterworth filter (i.e. the phase is smooth) i.e. the filter has unity gain with just an inverted phase component. The ...
1
vote
1answer
423 views

Gaussian window and standard deviation

I am trying to figure out how to use the matlab gausswin function which constructs a Gaussian window for $N$ samples with a given standard deviation $\sigma$. The function is defined by ...
-1
votes
1answer
697 views

Get the frequency response curve from FIR filter coefficients + sampling rate

What's the fastest way (if possible in the browser thanks to an online tool, or if not possible easily, with Python), to get the frequency response curve (x-axis: Hz, y-axis: dB), when giving just: ...
0
votes
1answer
154 views

Relationship between interpolation accuracy, impulse response and frequency response

Global interpolation or sinc interpolation is an ideal filter since its frequency response is a rect function. The impulse response of this filter is the sinc function (same as the coefficients of the ...
1
vote
1answer
54 views

Help generating coefficients for basic FIR LPF

I'm trying to generate coefficients for a FIR low pass filter to be used in an FPGA. I'm using python (scipy.signal) to attempt to do this, but am having trouble getting coefficients in a usable form....
0
votes
0answers
288 views

Which FIR filter window to choose?

I need to design a high pass FIR filter based on parameters given. However I'm stuck at which window i should select. How do I calculate the parameter M? The guide I referred myself to was behind ...
2
votes
1answer
865 views

Designing high-pass filters using impulse invariance

One of the main disadvantages of realizing digital filters using impulse invariance is aliasing. According to the Nyquist sampling criterion, in order for the frequency response of the digital filter ...
3
votes
2answers
1k views

How to implement a filter associated to a specific wavelet

I am working on ECG signals, to eventually extract features in order to detect an arrhythmia and classify it. I am using Discrete Wavelet Transform with biorthogonal wavelet bior6.8 During my research,...
0
votes
1answer
111 views

Instantaneous velocity and displacement from acceleration signal using a proper filtering method

first I need to mention I'm new to signal processing. here is the situation: I have an acceleration time-series derived from an accelerometer I wanted to imply a filtering method like high pass ...
0
votes
1answer
49 views

filter design steps and process [duplicate]

I started to learn MATLAB and reading paper.i have faced difficulty where to start, how to start in the field of biomedical signal filtering (fNIR)?
1
vote
1answer
109 views

Design a filter which passes all frequencies except $\omega=\pm\frac{\pi}{2}$ and plot its pole-zero diagram

Also draw its normalized frequency response. What is the ROC? This has to be done in z-plane so there must be two poles at $+i$ and $-i$ since they cannot be included in region of convergence. Is my ...
0
votes
1answer
259 views

MATLAB: How to filter a signal using Thiran Fractional Delay Filter

I have generated a Thrian fractional delay filter using (thiran function) in MATLAB h=thiran(0.3,1) where 0.3 is the time delay and 1 is the sample time. The ...
1
vote
0answers
127 views

Binomial Approximation of Gaussian Distribution

It is said that we may use the binomial coefficients ( a layer from Pascal's triangle) to approximate the 1-D Gaussian kernel with certain $\sigma$, where $\frac{n}{4} = \sigma$ and $n$ is the index ...
0
votes
2answers
313 views

Alternative to Extended Kalman Filter when prediction function is not differentiable

I am looking at a tracking problem. It can be modelled similarly to the Extended Kalman Filter: $$ \begin{array}{rcl} \mathbf{x}_k &=& \mathbf{f}(\mathbf{x}_{k-1}, \mathbf{u}_k) + \mathbf{w}...
1
vote
2answers
370 views

Help with audio EQ cookbook BPF filters and Q

I am fairly new DSP, and am using maths that I have not used in 20-30 years. I have been working with Cookbook formulae for audio EQ biquad filter coefficients by Robert Bristow-Johnson and am having ...
1
vote
1answer
127 views

Can I have some feedback on this research paper?

I have submitted this paper "Effect of Transducer Positioning in Active Noise Control" to arXiv. I would like to get some feedback on the methodology of the same. Inputs of any sort are welcome. Can ...
1
vote
2answers
76 views

Digital filter simulating hydroacoustic signal distortion

Preambule: I'm designing a sound model for my small submarine game. Model is running on the server, and I want to present the client with a mono-channel wav-stream from his hydrophone (20kHz ...
0
votes
1answer
86 views

Is this sampling frequency right?

I designed a Butterworth second order bandstop filter on Matlab with the following parameters: Notch frequency: 150 Hz (the frequency I want to remove) Bandwidth = 8 Hz, that is Fc1=146 Hz Fc2=154 ...
0
votes
1answer
105 views

Wavelets and bank filters

The wavelet transform has a problem as it gives poor time resolution for low frequencies and poor frequency resolution for high frequencies according to uncertainty conditions. This appears well ...
3
votes
1answer
79 views

Measure the length of curves via a smartphone's accelerometer

Is it possible to measure the length of curves by moving a smartphone along them and processing the accelerometer's data? For example, measure the circumference of a circle of radius $8 \,\rm{cm}$. ...
1
vote
2answers
1k views

What is the difference between the sampling frequency of signal and sampling frequency of filter

I believe that there is no connection between the sampling frequency used for converting an analogue filter to digital filter and the one used to sample a signal that the filter will be used on. But I ...
0
votes
1answer
123 views

About how to increase the FIR filter sampling frequency in FPGA? And what is the tradeoff of increasing the sampling frequency?

I am trying to implement a FIR filter on FPGA and trying to have a solid understanding of the FIR filter tap delay and sampling frequency. Does the “one tap” delay equal to “1/Fs (sampling frequency)”...
0
votes
2answers
90 views

Can I combine an IIR (an EWMA) with a maximum?

I'd like to have a exponentially weighted moving average (EWMA) which is raised to the value of the input signal whenever this is higher than the filter output. This taking of the maximum shall take ...
0
votes
4answers
77 views

Can I use IIR or FIR to get a sliding mean?

My output signal shall be computed by (meta code): o = 0 # or some arbitrary initial value for i in input: o = (o * 99 + i) / 100 print o I call this a "...
2
votes
1answer
263 views

Design Lowpass Filter With -7.5 dB/Octave Rolloff

I am working on a project that needs a lowpass filter with a -7.5 dB/Octave rolloff. This is somewhere between the rolloff of a one-pole and two-pole filter, so I wanted to ask what some standard ...
1
vote
1answer
249 views

Butterworth low pass filter zeros location after bilinear transformation explanation

I am studying in a text book the transformation of a continuous time Butterworth low pass filter into a discrete time filter by means of bilinear transformation: $$ s = \frac{2}{T_d}*\frac{1-z^{-1}...
-1
votes
1answer
42 views

Phase response approaches towards the zeros

Phase response is the relationship between the phase of a sinusoidal input and the output signal passing through any device that accepts input and produces an output signal, such as filter.https://en....
-1
votes
1answer
750 views

Transition bands and passband gain in digital filter design

In an ideal design, a digital filter has a target gain in the passband and a zero gain (−∞ dB) in the stopband. In a real implementation, a finite transition region between the passband and the ...
1
vote
1answer
401 views

“fred harris rule of thumb”:

I would like to cite "fred harris rule of thumb" for estimating filter order. Is there a book or paper where I can find this rule of thumb? Thanks a bunch.
0
votes
1answer
60 views

Optimization‏ FIR filter

I have a doubt about this : Iterative methods for optimization‏ in FIR filter (on the one hand traditional like window,frequency sampling ,WLS,Remez Exchange...,on the other hand evolutionary methods ...
1
vote
1answer
222 views

Least Squares Linear Phase FIR Filter Design

In explication ''the geometric interpretation of least squares'' Typically, the number of frequency constraints is much greater than the number of design variables (filter coefficients). In these ...
0
votes
1answer
372 views

Get difference equation of a filter from MATLAB transfer function coefficients

I need to get the difference equation of a specific elliptic filter. I calculated the transfer function coefficients in MATLAB with: ...
0
votes
3answers
95 views

different moving average filters differences

Suppose we want to use a moving average filter (3-point moving average) for $X[n]$ (where $Y[n]$ is output). What are the differences among $Y[n]=\frac13X[n-1]+\frac13X[n]+\frac13X[n+1]$, $Y[n]=\...
0
votes
1answer
103 views

Optimal Chebyshev FIR filters

I have many information i want to be clear very well . The defining characteristic of FIR filters optimal in the Chebyshev sense is that they minimize the maximum frequency-response error-magnitude ...
0
votes
1answer
162 views

Design single pass band FIR filter

I'm new in DSP. I want to design single pass band FIR filter using LS method. I have this information : one pass band $[-0.1\pi , 0.3\pi]$ two stop bands $[-\pi , -0.18\pi]$, $[0.38\pi, \pi]$ ...
0
votes
1answer
27 views

Direct form I and Direct form II

I was studying about realization structures of digital filters. Is it mandatory to have the order of numerator must be less than that of denominator of transfer function for realization of filter ...
1
vote
2answers
732 views

How to Design a Pre-emphasis filter knowing the gain, a zero and a pole?

I am simulating an FM radio signal in order to use it as a waveform in passive radar; for this purpose I'm following an article: Analysis and Emulation of FM Radio Signals for Passive Radar In a ...
2
votes
2answers
4k views

Determining the Filter Coefficients of an FIR Filter

I need to find the filter coefficients of an FIR filter that will block sinusoids of frequency $200\ \rm Hz$ if the sinusoid is sampled at $1.2\ \rm kHz$. I feel like this is a fairly simple problem,...
1
vote
1answer
2k views

Pre-emphasis filter for speech recognition

I'm trying to design a: $$H(z)=1 - 0.95z$$ FIR filter, for speech signal. I am using this arm_fir_example_f32.c code shown below. And I need to change the filter ...
0
votes
1answer
161 views

Biquad Treble Shelf filter gain being weird

Trying to compute Biquad Coefficients for use in a codec chip TLV320AIC3100. Bass Shelf(boost and attenuation) work as expected. Treble Shelf attenuation works as expected but Treble Shelf boost is ...