Questions tagged [resampling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
28
votes
7answers
21k views

What is an algorithm to re-sample from a variable rate to a fixed rate?

I have a sensor that reports its readings with a time stamp and a value. However, it does not generate readings at a fixed rate. I find the variable rate data difficult to deal with. Most filters ...
4
votes
3answers
418 views

Absolute convergence of periodic sinc interpolation

An $N$-periodic complex discrete-time sequence $[x_0, \dots, x_{N-1}]$ can be resampled to an $M$-periodic sequence $[y_0, \dots, y_{M-1}]$ with $M>N$, using sinc interpolation: $$\begin{align}y_m ...
4
votes
4answers
8k views

How Can I Resample a Signal with an Arbitrary Factor (For Example - 128000Hz to 16000.1Hz) in MATLAB?

I need to simulate the sampling of a continuous (fsCtu = 128000Hz), acoustic signal with two microphones that have a slight offset in sampling rate (fsMic1 = 16000, fsMic2 = 16000.1) in Matlab. What ...
1
vote
1answer
496 views

Frequency Representation of Downsampled Signal

I'm trying to follow the steps from Oppenheim for the derivation of the frequency representation of a signal which is to be down sampled by a factor of M. It makes sense to me that: But then the ...
7
votes
1answer
4k views

Python's $\tt resample$ vs $\tt resample\_poly$ vs $\tt decimate$

I have multiple signals each measured with a sampling rate 300Hz. They are mostly periodic, although there are some parts of some of the signals, that seem to be random and do not follow the rest of ...
2
votes
2answers
2k views

Resampling of signal with non uniform sampling frequency

I have a non uniform sampling frequency signal and I have to convert it in a constant sampling frequency. I tried to interpolate it with an Hermite spline interpolation but it make a lot of wrong ...
14
votes
5answers
11k views

what is better: up- or downsampling?

I want to compare two signals or curves. Unfortunately they have different sample rates. The first one is sampled at 30 Hz, the second at 2000 Hz. Matlab has the function 'resample' and I thought, ...
12
votes
3answers
10k views

What are the relative merits of various upsampling schemes?

I recently encountered a DSP system which did some internal upsampling via zero padding. Expecting zero-order-hold, I was surprised to find that a DC signal did not produce a DC output; many ...
2
votes
0answers
67 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 ...
4
votes
1answer
3k views

Upsample data using FFTs. How is this exactly done?

I am basing my question on this post here, because I would like additional details on it, as I have not had any success in re-creating it. I would like to simply learn, in no uncertain terms, how to ...
2
votes
2answers
955 views

Resampling a digital sound signal

As a non maths-pro, I'm looking for some pointers. I am rewriting the audio core in my emulator to improve accuracy, and am getting a bit stuck on the specifics of the technique. I am trying to ...
0
votes
1answer
37 views

Upsampling question- Aliasing/imaging problem

I'm trying to study vibrations in a non-stationary shaft by upsampling the original signal. The original sample rate is at 25.6kHz, and it is being upsampled to 36kHz. In the FFT of the upsampled ...
0
votes
3answers
1k views

Which anti aliasing filter algorithm for efficient audio resampling?

I'm building a real-time audio resampler (think pitch bend) that needs to have a several different performance vs quality configuration options. I understand that I'll need to apply a low-pass filter ...
0
votes
2answers
217 views

What are the implications of resampling the derivative of a signal with a higher frequency than the original signal?

Suppose I have a digital signal measured with sampling time, $T_s=1$ sec. If I take it's derivative, it will, naturally have $T_s=1$ sec. But what are the implications if I re-sample this derivative ...
0
votes
1answer
335 views

Resampling scattered data with MATLAB's $\tt interp$ and $\tt resample$

I am recording acceleration data with an MPU6050 connected to a Arduino1 and stored on a SD. Here you can find the code. I need to calculate the FFT of an acceleration signal that was not sampled ...
0
votes
3answers
131 views

Various size arrays interpolation - resampling

sorry if it's stupid question but it’s third day that I try to figure it out how to do that. And just can’t find the solution. Let’s say I have array $A$ size 4, and $B$ size 8. And I need to put/...