Questions tagged [filter-design]

Fiter design is the process of designing a filter.

Filter by
Sorted by
Tagged with
0
votes
1answer
203 views

How to perform spectral inversion in the frequency domain to convert a low-pass filter into a high-pass filter?

To convert a linear-phase FIR low-pass filter into a high-pass filter with the same cut-off frequency, we can invert the sign of the low-pass filter's impulse response $h(n)$ and then add one to the ...
1
vote
0answers
23 views

How to design a filter with smoothness regularisation?

I am rather new to the DSP topic. However, I would like to filter a signal with lowest error and highest smoothness. Until now, I was using tikhonov regularisation inside batch regression with some ...
0
votes
0answers
174 views

Can Kaiser's formula be used to estimate the filter length of an FIR filter for all windowing methods?

I came across this problem while designing a FIR filter for given $\omega_p = 0.4\pi$ and $\omega_s = 0.6\pi$ along with the minimum stop-band attenuation $\delta_s$. I have worked out some examples ...
0
votes
2answers
61 views

Parallel equalizer, working for boosts but not cuts

I am trying to replicate the behaviour of a parallel equalizer. The approach is to use a parallel sum of bandpass filters like so: $Response = 1 + bandpass1 * (gain1 - 1) + bandpass2 * (gain2 - 1) + ...
0
votes
0answers
19 views

What is the meaning of these Fixed Point Properties e.g.CustomSectionInputDataType?

I was trying tom implement a Butterworth filter and i came across a example on Mathworks site which emphasizes to customize various terms related to the filter. Following are some of the terms i could ...
2
votes
2answers
84 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/...
1
vote
0answers
60 views

Vary poles/zeros of digital IIR filter

Many applications that produce sound, such as software synthesizers, are able to apply a filter that varies with time, such as applying a low pass filter that varies with an LFO. I currently have a ...
0
votes
0answers
40 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
86 views

Why does sampling frequency affect the filter results?

I have a big issue, basically my goal is to create a low-pass butterworth filter around 0-35Hz with a sampling frequency of 5000Hz. My Matlab code is ...
2
votes
3answers
198 views

Matlab IIR cheby2 bandpass, problems with Magnitude

I am trying to implement an IIR bandpass in Matlab. There are two things I don't understand. But first of all, let me post the code. ...
0
votes
2answers
55 views

Downsides of higher order filtfilt's

I understand that with a standard filter, higher order will yield sharper frequency selection at the cost of increased phase delay. However, with so-called zero-phase-distortion filters like that ...
1
vote
0answers
96 views

Avoiding transients during filtering: Padding or Gustafsson's method?

I'm pretty uneducated when it comes to filtering, more of a stats guy, but I have to bandpass some signals and after a bunch of reading today I understand that the ...
0
votes
0answers
18 views

Estimate peak bandwidth from adjacent STFT bins for notch filter

I am using STFT to extract a strong, frequency varying signal from a continuous set of digital samples. I am able to do this very successfully and am determining the peak bin using PSD and 50% overlap ...
1
vote
1answer
60 views

FIR Filter Type - MATLAB

A question about using fir1/fir2/firpm to design FIR filters in MATLAB. The first parameter is the 'filter order'. For my filter design I pass in 250 as this argument. However, when looking at the ...
0
votes
1answer
124 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
0answers
36 views

Signal attenuates after interpolation

So I'm designing all my interpolation filters to have unity gain at 0 dB. This results on my output signal to have a small amplitude. I was reading how to fix this and found this post Interpolation ...
0
votes
2answers
67 views

Ripples in filter

What are the uses of ripples in the filter design. We try to design a filter with least ripples but sometimes we design a filter to have 2 or 3 ripples. Why is it so?
2
votes
2answers
157 views

How would you interpret the pattern in this picture? (generated by re-sorting pixels based on their RGB value)

Was playing with some pictures and ran the ruby code below. The code reads an input image using the ImageMagick library, gets an array of pixels, re-sorts the pixels and then writes out an image with ...
1
vote
3answers
190 views

Reverse engineering a digital filter

I have 2 simultaneous signals that both are designed to measure eye movements. They are sampled at 250 Hz. We have 12 subject recordings. For 3 stable periods in each subject, we choose 256 points and ...
1
vote
0answers
98 views

CIC compensation filter and total response

UPDATE: New plot with properly scaled CIC comp response. I'm studying about CIC filters for interpolation/decimation and I'm reading about CIC compensation filters due to CIC filters not having a ...
1
vote
1answer
106 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
1answer
42 views

MATLAB Convolution

I am designing an IIR notch filter using pole-zero placement method. I am trying to convolve the two zero locations using ...
2
votes
2answers
323 views

Numerically Stable IIR filter

I am making an IIR Filter and I am running into problems with stability with higher orders. The values go off to infinity as soon as it starts. So far, I've been using MATLAB to generate my filters ...
4
votes
1answer
146 views

2D Multi Scale Dot Enhancement Filter based on Gaussian Filter and Hessian Matrix

I'm trying to implement an algorithm that enhance dot and line like structures based on Hessian matrix, the algorithm uses Gaussian filter with different scales before calculating the hessian matrix ...
0
votes
1answer
206 views

Low-Pass Filtering of not evenly sampled signal

I have a signal sampled unevenly over 1 million ns. the signal is sampled over 1GHZ clock and the samples are as the following: 0-100 ns - sample every 1 ns. 100-1000 ns - sample every 10 ns. 1000-...
0
votes
1answer
46 views

Is there any advantage on using a low span value in a RRC filter?

I know that in a RRC filter a high value of the span gives a better response, in the sense that the RRC filter response is more near to the ideal RRC filter response. However, would there be any ...
-1
votes
2answers
157 views

Is There Any Filtering Technique with Element Wise Product Only Instead of Convolution?

Generally we apply a filter to reduce noise from signal. For example if the received signal is $S$ we would get a signal $Y$ with reduced noise applying a filter $W$ with the operation Y= convolution(...
3
votes
1answer
116 views

Jacobian Computation in Least Squares IIR Filter Design

Long time lurker and first time poster - but unfortunately I haven't had any joy untangling this on my own. I've been studying Mathias Lang's thesis, Algorithms for the Constrained Design of Digital ...
0
votes
1answer
199 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
0answers
57 views

Cascading filters at different sampling rates

We are currently designing a type 2 compensator $G_1$ (1 pole at the origin, 1 zero and 1 pole) to stabilize a power factor correction (PFC) circuitry. The crossover frequency is low - 2-3 Hz - and ...
1
vote
1answer
67 views

Criterion to choose length of an accumulator and product

I am designing an IIR filter with fixed-point arithmetic and I have to select the proper length for the accumulator and product. I would like to know a standard to follow in order to choose its length....
2
votes
3answers
939 views

How to determine if an IIR filter is causal or non-causal?

It may sound impractical, as only causal system are passively realizable, but what I am facing is a general statement made regarding recursive digital filters: for them to be stable, the poles should ...
2
votes
1answer
57 views

What should be my sampling frequency?

I have an accelerometer that I am reading the x, y, z values for m/s^2. I've written up my code in Python as follows. ...
1
vote
1answer
108 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
48 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
3answers
432 views

Given a filter (coefficients) how can I make it minimum phase?

Consider we have a low pass FIR filter (or other type of filter) that means the filter coefficients are given. Now we want to have the same (or almost) frequency response but a minimum phase filter. ...
0
votes
0answers
95 views

Understanding the magnitude of frequency response filterbank based on elliptic filters

I've implemented a 10-channels filterbank with octave-scaled second-order elliptic filters using the Python's library scipy.signal. Here is the magnitude of the frequency response: Can someone ...
0
votes
0answers
28 views

remove \ minimize first side lobe ringing artifacts due to data truncation

I have a truncated data set that I need to transform, for example: ...
0
votes
0answers
49 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
1answer
92 views

Bandpass filter with very high sampling rate

Consider a bandpass filter with Low Cut 17Hz, High Cut 22 Hz, Fs = 45000 Hz and Order = 6. When I pass a mixture of multiple sinusoidal waves through this filter (with a sine wave of frequency 20 Hz), ...
2
votes
1answer
68 views

What is the proper way to filter out unwanted noise from accelerometers?

I'm a beginner in signal processing and have a hard time to filter out environmental noise from the floor vibration data collected using accelerometers. I have tried using butterworth filter (IIR) ...
5
votes
1answer
361 views

Efficient implementation of 2-d circularly symmetric low-pass filter

How can a two-dimensional ideal circularly symmetric low-pass filter or its approximation be efficiently implemented on data sampled on a square grid? I'm referring to an ideal filter with a spatial ...
0
votes
1answer
56 views

How to design a a filter and how to determine the poles and zeros on the basis of following informations?

A sinusoidal signal of 300Hz frequency,3V amplitude is contaminated with line frequency (50Hz,1V). Design a digital filter including poles and zeros to remove the interference component. Consider the ...
0
votes
0answers
88 views

Where to start in the design of my filter to remove 50 Hz

pick any 3 random files from this database, : https://physionet.org/pn3/ecgiddb/ They are subject to 50 Hz powerline interference. We wish to convert from time domain to frequency domain and remove ...
0
votes
1answer
127 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
552 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 ...
1
vote
0answers
36 views

Concept of scales in Gabor filter

I've been reading about Gabor filters, and there is a concept of scale. While I understand that Gabor features help in analyzing both the frequency and orientations of an image, what is the idea of ...
2
votes
0answers
32 views

Is it possible to create a causal filter with a positively-sloped phase response?

I am currently prototyping a set of noise-cancelling headphones that utilize active EQ to modify the noise-cancelling signal, allowing the user to modify the frequencies that they hear or don't hear. ...
1
vote
1answer
415 views

Change duration/tempo of a .Wav file without introducing pops or pitch shift?

I am attempting to develop a similar function as Audacity's Effects>Change Tempo effect. Or more specifically: I am in need of a way to create a function in my ...
0
votes
0answers
31 views

FIR filter window method [duplicate]

In the window method for filter design it is explained that we do an ideal filter and then we pass it to time domain, but it will be time limited and then... Why don't we filter directly in the ...

1 2
3
4 5
18