# Questions tagged [resampling]

The tag has no usage guidance.

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
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 ...
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 ...
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 ...
61 views

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 ...
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 ...
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 ...
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 ...
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, ...
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
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 ...
23 views

### resample interpolation decimation filters algorithm

I'm creating a program in order to perform Resample, Interpolation and Decimation Frequency. ...
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 ...
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): ...
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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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)$. ...
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 ...
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 ...
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 ...
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 ...