Questions tagged [resampling]

The tag has no usage guidance.

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
8k views

Downsampling and upsampling of a signal in Python

If I want to downsample a signal in Python, is it better to use method resample from SciPy Signal Processing module or method decimate from the same module? What is the difference between these two ...
2
votes
0answers
64 views

How can I extract the 2 polyphase components of a signal after sampling at the half of sampling rate

Suppose I have a continuous signal $x(t)$, which was sampled using sampling function $s(t)$ whose sampling rate is $T_s$.How can I sample the continuous signal by Ts/2 instead of Ts in order to get ...
2
votes
0answers
68 views

Compensate for residual resampling error with a quadratic phase vs frequency- possible?

With regards to the answer in this post Is it possible to do deconvolution with two data sets that have different sampling rates? I suggest the possibility of compensating for a residual resampling ...
2
votes
0answers
122 views

Signal rescaling

Please help me out with this one. I think I've been given an impossible task. I'm working on a system that transmits an active signal and looks for strong reflections. The transmitter is actually ...
2
votes
0answers
61 views

Is there an exact solution for this re-sampling problem?

I want to know if there is an exact solution for the following problem and how to approach solving it: I have a discrete-time signal where the Nyquist theorem is satisfied: $r_k = \sum_i a_i^{(1)}h^{...
1
vote
0answers
20 views

Converting the equalizer coefficients from VSA at 2 sample/Symbol to 1.5 sample/Symbol

I was looking for some feedback on conversion of equalizer/filter coefficients at different sampler rate. Problem Statement: We have built a transmitter system whose output is at 1.5 sample/symbol (...
1
vote
0answers
109 views

Why do I have to scale filter coefficients during bandlimited sample rate conversion?

I am writing an example for how to perform sample rate conversion using windowed sinc and polyphase filters. Here is the C++ code as a github gist. So far, this works, and I think I have understood ...
1
vote
0answers
233 views

signal interpolation (upsampling) by factor 2

The task is to interpolate the signal by increasing the sampling rate by factor 2. Matlab has a dsp.FIRHalfbandInterpolator function. Let's try using it. ...
1
vote
0answers
129 views

Matching two signals with small time drift

I have two time-domain signals sampled at 100 Hz that were measured using two different oscillators and therefore have a time drift between them. I have two synchronization points, one at the start ...
1
vote
2answers
179 views

Resampling with and without replacement for estimating significance of spectral components

In order to test the significance of spectral components, it seems reasonable to randomly sort the data in order to destroy all the serial correlations / spectral order e.g. 100,000 times, and then ...
1
vote
0answers
56 views

How to initialize shift registers in polyphase filter based resamplers to avoid or compensate for group delay?

I have a signal a = [a(t0),a(t1),a(t2),..,a(tN-2),a(tN-1)] I'm using a polyphase filter based resampler with filter length $L$ of $8$, fixed interpolation rate $I$ of $10000$ and decimation rate of $...
1
vote
0answers
76 views

Specifications (N) FIR Low Pass Resamplig, Hamming Window

I'm learning about DSP and I've doubts. The resampling process can be do it with only one filter. $L$: Increment Sample Rate Integer $M$: Decrement Sample Rate Integer $f_S$: Frequency Sampling ...
1
vote
0answers
247 views

Spatial resampling, how to smooth?

Sorry if this is not the right forum. Having a velocity grid in which a wave propagates, and given a certain spatial sampling of the grid, what kind of smoothing/interpolation should be used if the ...
1
vote
0answers
43 views

Is Bernstein ever used in DSP?

In the early 1900s, Bernstein proved you could approximate any continuous function with the sums of polynomials. I know this is a bit weak for DSP because it isn't strictly periodic, but is Bernstein ...
1
vote
0answers
149 views

Upsampling very large data sets efficiently

I have gigabytes worth of seismic ground data, that I wish to upsample by a factor of 2 or 3. I wanted to ask what efficient way might there be for me to upsample such a big file? Is there a way to ...
0
votes
1answer
54 views

Fourier Transform of sampled reflectance measurements

Goal: Calculate the complex index of refraction ($\hat n = n +jk)$ from reflectance measurements. Data: Reflectance measurements for various materials were taken with a FTIR (Nicolet™ iS50 FTIR, ...
0
votes
0answers
13 views

Spectral kurtosis on non-stationary signal

I posted a question some weeks ago I still have not found an answer to. I updated the old question and am hoping someone could help. Link: Varying speed of shaft Spectral Kurtosis
0
votes
0answers
41 views

Composition of interpolation and decimation matrices

I understand that interpolation is a linear transformation of a signal vector that combines interleaving the elements of the input vector with zeros followed by a filtering operation to remove any ...
0
votes
0answers
23 views

resample interpolation decimation filters algorithm

I'm creating a program in order to perform Resample, Interpolation and Decimation Frequency. ...
0
votes
0answers
46 views

Weird resampling artifacts of a periodic signal

I am trying to grab time series data from a database storing data on a propritary format. When i chose a resolution which is not a multiple of the power of two of the sampling resolution i get these ...
0
votes
0answers
27 views

Where to do timing synchronization?

I'm trying to do timing synchronization. I was wondering where in the receiver chain I should put this. At the moment, I have (in order, so the first thing in the receiver is 1 and the last is 4): ...
0
votes
1answer
135 views

How to prevent distortion after down-sampling?

I am new to audio signal processing, but in one of my machine learning projects that I am working on, I need to down-sample my audio somewhere in the middle of my neural network. Therefore, I need a ...
0
votes
0answers
38 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
0answers
49 views

Delay of non-polyphase vs polyphase FIR filters

I implemented a polyphase filter function for interpolating and decimating. It works great (I compared it to what I'd get by interp/decim by inserting L-1 zeros and I get the same results) except for ...
0
votes
0answers
115 views

Polyphase resampling delay

I want to implement polyphase resampling. For this, I wrote a script in matlab. The script performs the following sequence of actions: ...
0
votes
0answers
158 views

Understanding Upsampling Filter in Laplacian Pyramid

For the construction of a laplacian pyramid, images are downscaled and then upscaled again. My question is what is a wise decision of the kernel mask for the upscaling task ? In more detail, lets say ...
0
votes
0answers
30 views

delayed result in sinc upsampled signal

I have implemented an infinite kernel sinc interpolation. For some signals I notice an artifact, visible at the right end of the plot. I am wondering: is it a bug in my code or a phenomenon usual for ...
0
votes
0answers
53 views

How should I modify my filter coefficients for the filter to be unaltered, when I change my sample rate

I am guessing this is a commonly encountered problem, but I am lost on how to really solve it. I have FIR filter coefficients that are used to match the frequency response of data sampled at 3 kHz. I ...
0
votes
1answer
83 views

Having Glitches trying to use a Sinc Function Interpolation on a Signal, by chunks of 1024 samples

I am trying to interpolate a signal using a third party lib that performs Sinc Function Interpolation on a signal. It works well if I input all the samples at once but introduce phase distortion if I ...
0
votes
0answers
121 views

Resampling or interpolating non-uniform 2D measurements

I am not sure what I should call what I am looking for, but I have some measurements that have 2 independent variables and I would like to get an interpolated value at a specified x,y coordinate. My ...
0
votes
2answers
521 views

Signal Resampling by a non integer factor with convolution

to start I am a newbie in signal processing, I just started a month ago so please be as detailed as possible. From what I understood to resample a signal by a non integer factor you can do an ...
0
votes
0answers
86 views

Length of a resampled audio signal

It seems to me intuitively if I have a signal $y$ with sampling frequency $f_0$, then if I resample that signal with $f_{new}$ the correct number of samples will be $\frac{f_{new}}{f_0} \cdot len(y)$. ...
0
votes
0answers
85 views

Non-uniform resampling - spacing between output samples given speed factors

I'm working on an implementation of time-varying resampling in python. I've got the windowed sinc interpolation itself working nicely, but can't figure out where exactly to sample my input data for ...
0
votes
0answers
154 views

Playrate change based on sinc interpolation generating phase shift?

I want to simulate the play-rate change function of a modern digital sampler. For the purpose I have constructed a sinc-resampling based algorithm of my own which changes the play-rate of a digital ...
0
votes
0answers
227 views

Extended Kalman filter (EKF)

I am working on the localization problem of an underwater vehicle. However the problem is still in very simple and it does not matter that it is about underwater. How can I use the EKF when I have ...
0
votes
0answers
66 views

Unexpected peak after up & down sampling

I am working on signals to check how approximation can change the results. I am testing on example that can change frequency from 22kHz to 20 KHz. I prepare this script in MatLab ...
0
votes
0answers
190 views

Most efficient phase linear x4 resampling algorithm

I'm working on a program in which I need to do the following about 20 times for each block of audio: - Upsample from 192 to 768 kHz (x4) - Clip - Downsample back to 192 kHz (/4) What I'm using now: ...
0
votes
0answers
3k views

How to compute transfer function (Frequency Response Function) from experimental data

I have a set of data, in the freqeuncy domain, corresponding to a structural test. I have amplitude, phase and frequency for both the measured output and the input signal (accelerations are measured ...