Stack Exchange Network

Stack Exchange network consists of 174 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

Fiter design is the process of designing a filter.

0
votes
1answer
29 views

Signal reconstruction from sampled signal?

Can we construct exact analog signal at receiver as same as source from the sampled signal????
0
votes
0answers
14 views

Fitting filter coefficients within a narrow band of frequencies, and using them as multi-rate

Intro: I have a vibrating system that I am trying to model. I've input a sine sweep up to 1200Hz and measured the device's input and output into MATLAB. I am interested in finding the inverse filter ...
0
votes
0answers
14 views

Complex and nonlinear-phase equiripple FIR filter design with function handle [migrated]

User-definable functions may be used, instead of the predefined frequency response functions for @fresp. The function is called from within cfirpm. I 'm using the handle function to adding the group ...
1
vote
0answers
56 views

Generation of Noise-shape filter from Power Spectrum Density

This is my very first time in dealing with signal processing, so I am sorry if I will not use a rigorous terminology. I am dealing with some issues about noise modeling in matlab. I'm trying to ...
1
vote
1answer
52 views

Find filter coefficients to model a device using its measurement

I am trying to realize a digital filter that has the same freq. response of an existing speaker. I have fed an audio sine sweep to the speaker and measured the speaker output, both at 48kHz. Then I ...
0
votes
1answer
28 views

Why must the Region Of Convergence (ROC) contain infinity and the system function be a right-sided sequence for it to be causal?

I need the simple logic on the condition a system becomes causal. We know that causal contains only past values. I can't relate this with the Region Of Convergence (ROC) concept.
1
vote
1answer
30 views

4-phase FIR LPF in MATLAB

I'm trying to create a low pass FIR filter using the coefficients I found in ITU 1770-3 on page 18. This is the last piece of the puzzle for an audio loudness metering algorithm I'm working on. I'm ...
8
votes
3answers
187 views

Savitzky–Golay filter vs. IIR or FIR linear filter

A traditional IIR / FIR filter (lowpass to remove the high freq oscillations), e.g. moving average, or a Savitzky-Golay filter can all be useful to smoothen a signal, such as an envelope signal: ...
2
votes
2answers
98 views

Bandpass filter that automatically adapts its bandwidth when a transient is detected (to avoid to smoothen the transient)

Let's say we want to isolate a band 1000 hz +/- 50 hz. Obviously, limiting the bandwidth by applying a passband filter will always destroy a bit the sharp transients (a Dirac or a rectangular ...
0
votes
0answers
27 views

Filtering Audio Signals in MATLAB

I'm trying to apply a filter to an audio signal in MATLAB and having some trouble processing it. So far, I have a transfer function that describes a K-weighted filter, and I am able to create a bode ...
1
vote
2answers
57 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 ...
0
votes
0answers
9 views

about magdwick filter Reference direction of Earth's magnetic field and Gradient decent algorithm corrective step

i have downloaded magdwick fliter AHRS written in C: http://x-io.co.uk/open-source-imu-and-ahrs-algorithms/ // Reference direction of Earth's magnetic field hx = mx * q0q0 - _2q0my * ...
1
vote
1answer
47 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}}| \...
1
vote
0answers
29 views

How far can numerical differentiation be accurate for sinusoids?

Suppose you have samples of uniform interval of a sinusoidal signal that is some sum of sinusoids. Forget about aliasing, as the signal is bandlimited. If we have infinite number of samples at ...
0
votes
0answers
24 views

How to select Input parameters of FIR band pass filter (narrow band e.g Alpha (8-12 Hz)). A basic question?

I have to filter eeg data (500 samples) offline using a FIR bandpass filter for alpha rhythms (8-12 Hz) providing the fixed order of filter (i-e., 128). Can some one explain what should be the ...
2
votes
1answer
69 views

How does a digital filter work?

To introduce my situation: I'm developing a digital synthesizer in a form of a C++ library, working with low level APIs like WASAPI, ASIO, ALSA etc. It's probably not very practical and I'm mostly "...
5
votes
4answers
242 views

Why is the first value in digital first-order IIR filter impulse response not the largest?

When I create a digital first-order IIR low-pass filter with scipy (code below), I get the following coefficients: B: [ 0.1367 0.1367] A: [ 1. -0.7265] The ...
0
votes
0answers
28 views

Phase considerations in image filter design for precise noise removal (image in post)

I have images with systematic noise caused by the instrument in different subdomains of the image, and I'd like to design a filter to - on average - improve the quality of the images. Since the noise ...
2
votes
2answers
210 views

Alias-free digital nonlinear filter design

@Jazzmaniac has a good answer to the question of how to design an alias-free digital nonlinear time-invariant filter here: https://dsp.stackexchange.com/a/28787/18276 Basically, according to that ...
1
vote
1answer
50 views

Problem with 1st order Massberg LPF [duplicate]

I'm trying to implement this filter in title by following the book "Designing Audio Effect Plug-Ins in C++" By Will Pirkle Problem I'm facing is the magnitude response error when comparing against ...
1
vote
0answers
74 views

Issue with the Massberg Analog-Matched Low Pass Filter

Implemented the filter mentioned in title using Octave and couple sources Vicanek and Zeitlin (LPF.cpp). Got filter working otherwise but, ... when tested the responses against 'analog model' of the ...
4
votes
1answer
122 views

Advancing a causal IIR filter's impulse response

Given an infinite impulse response (IIR) filter as coefficients in a topology of your choice, what is a straightforward way to modify the filter so that the impulse response is shifted in time (...
0
votes
0answers
14 views

How to stablelize the changing baseline of a filter circuit?

I have designed a 6 order low pass filter of 5 Hz whose baseline (dc level) is set at 3.3Volt but its output baseline changing very often, sometimes it even reaches 4 volt. Why is it so? As expected ...
0
votes
1answer
58 views

What does it take to design a 4th order band-pass filter with -24dB/Octave?

I would like to implement in software the same isolators that the Pioneer EFX-500 features: The manual says the following about the isolators: High-performance 3-band Isolator Function [Fourth-order ...
0
votes
1answer
78 views

FIR filter design: evaluating the error function

Question 1 $$ H(e^{j\omega})=\sum_{n=0}^{N-1}h[n]e^{-jn\omega} =\mathbf{c}^H(\omega)\cdot \mathbf{h} \tag{1} $$ $$ =\mathbf{h}^H\cdot\mathbf{c}(\omega) \tag{2} $$ $$H(\mathbf{h})=\sum_{k=1}^Kh[k]e^{...
2
votes
1answer
40 views

Where to learn about “analog prototype filters”?

Where to learn about "analog prototype filters"? I've heard about them, but I'm unsure about what they really are and how they're constructed.
2
votes
2answers
98 views

Detect valleys of a signal

I have raw values that are coming directly from a sensor (on the fly). These values are coming from a wearable sensor installed on a cows neck. When the cow ruminates (meaning that it chews food that ...
0
votes
1answer
82 views

Design of FIR filters with arbitrary magnitude and phase responses

I found many information in this thesis "Algorithms for the Constrained Design of Digital Filters with Arbitrary Magnitude and Phase Responses",i want to understand it. This question is a ...
5
votes
6answers
187 views

Optimal $ n $ -th Order IIR /AR Approximation of a Moving Average Filter

I would like to approximate a moving average filter with an IIR filter of much lower order than the tap-length of the moving average filter. Optimality shall refer to the $L_2$ norm of the impulse ...
0
votes
0answers
16 views

Seam in between output segment in linear convolution and filter design

I am attempting to design a matching filter from long sequences. I want to do this in the time domain. I have 3 inputs. Let's called it p,s, and r. The matching filter is to be designed between p and ...
0
votes
2answers
30 views

What is meant by “arbitrary” in the context of digital filter design?

I try to understand the 'arbitrary' what does it meant? I had read many references ,such a one it is 'begin the process with a transfer function of your choice' ,in other reference :related by the ...
2
votes
1answer
87 views

Pulse shaping with RRC : Number of taps

I am running a BPSK flowgraph in GNU Radio which is based on RRC pulse shape. I noticed that the BER is quite poor when the number of taps is low. However, using the number of taps around $20\times ...
0
votes
1answer
39 views

Arbitrary-Response Filter Design

I want to design a FIR filter by using 'cfirpm' function , which can i use the group delay and grid frequency, my code is : ...
-1
votes
1answer
41 views

Design digital filter with model order reduction (MOR) and other methods

IIR filters can be designed using different methods,such as: Analog Prototyping Direct Design Generalized Butterworth Design Parametric Modeling https://www.mathworks.com/help/signal/ug/iir-filter-...
1
vote
2answers
57 views

A question about Gibbs phenomenon example in Richard Lyons book

If anyone has a copy of this book could you please shed some light here: I was trying to reproduce the example shown in Chapter 5, section 5.3.1 Window Design Method's Figure 5-19 which illustrates ...
0
votes
1answer
30 views

CCDE processing vs. Scilab function

I have used Scilab functions to produce a low-pass filter for an audio signal and the coefficients for the associated constant coefficient difference equation (CCDE). I then produced filtered signals ...
0
votes
1answer
45 views

Band pass filter (digital resonance)

Q1:  Consider a discrete-time band-pass filter (BPF) that uses only two poles as $$ H(z) = G \frac{1}{\big(1-r \, e^{j \omega_0} z^{-1}\big)\big(1-r \, e^{-j \omega_0} z^{-1}\big)} $$ where this ...
1
vote
3answers
102 views

Complex Least Squares Approximation

In the case of frequency domain FIR filter design, the error function given by : $$E(\omega)=H(e^{j\omega})-D(e^{j\omega}) \tag{1}$$ is a linear function with respect to the unknown filter ...
0
votes
1answer
47 views

Damped Harmonic Oscillation as an LTI

The goal is to create an LTI filter which is exactly, or approximates, damping of harmonic modes. The equation of course is: $$\frac{d^2 x}{dt^2} + 2 \xi \omega \frac{dx}{dt}+\omega^2x=0$$ This can ...
0
votes
1answer
35 views

The desired frequency-response specifications

The complex function $ D (e^{-jw})$ is defined on the domain of approximation $\Omega$ .In most cases the domain $\Omega$ is the union of several disjoint frequency bands which are separated by ...
1
vote
3answers
58 views

Usefulness of Practical filter ouptput

If a practical filter can't remove all unwanted frequency components like ideal filter, does that mean unwanted frequency component are still present after filtering? how can we use such distorted ...
0
votes
0answers
29 views

How to calculate the scale factor for Laplacian of Gaussian

Trying to implement the LoG with different kernel size and sigma. Been reading this post: Introduction to IP : Laplacian of Gaussian? Which mention a scale factor of approx 482 for a 9x9 size kernel ...
1
vote
1answer
121 views

IIR filter design fitting step response

I have access to the step response of a system and I want to find its poles and zeros without knowing the order of the system. Consider an example of a step response of the system shown in the ...
0
votes
0answers
41 views

The grid frequencies In the design of a digital filter

I want to find many difference 'h' with same group delay and length filter using this code : https://gist.github.com/mattdsp/17f508d2b368db61f47689e4622d8841/c1518f22a5aa451951601b56c5d9f72743868bfe ...
1
vote
1answer
114 views

Do you recognize this filter?

I'm trying to decipher the uncommented source code of SoundBox which is a little music tracker written in javascript. There is an included synthesizer, which applies a filter on the output samples. I'...
0
votes
1answer
86 views

Shelving filter (2nd order)

I'm trying to find the equation of a shelving filter of the second order. I easily found the equation for a first order filter on wikipedia with a transition region which have a 6db per octave slope. ...
0
votes
0answers
41 views

IIR (non linear phase) filters

As you know, a nonlinear phase filter (in passband), distorts the frequency contents of passband region of signal. In general, Why do we use such filters in the case they cause distortion in the ...
0
votes
0answers
44 views

Bandpass Fractional Delay Filter

I am designing a fractional delay filter, I found this code for lagrange FIR fractional delay filter, The fractional delay filter acts as a low pass filter, it passes low frequencies from 0 to 0.25*fs....
0
votes
0answers
39 views

LC Low Pass Filter Design

I am attempting to design a low-pass filter for a subwoofer, as the audio amplifier that is connected to it does not filter any of the sound coming in, and it is getting pumped full of high frequency ...
0
votes
1answer
72 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 ...