Questions tagged [resampling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
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
1
vote
2answers
64 views

Rectify signal basic question

When rectifying a signal by squaring it, is it necessary to upsample by a factor of 2? Why is this?
0
votes
1answer
39 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
1answer
34 views

Obtaining a high sample rate digital approximation to an analog filter from lower frequency measurements

Consider a set of dense, but generally irregularly-spaced frequency response measurements of some real low-pass analog filter. Denote the maximum frequency for which a frequency response measurement ...
0
votes
2answers
38 views

Interpretation of sample rate

I'm a little confused about the sample rate: If I have an audio file that was recorded with a sample rate of 48kHz, this means that there are 48,000 values per second in this file, right? So when I ...
2
votes
2answers
341 views

How can I synchronize signal from an LED and TTL pulses better?

I would like to synchronize my video and voltage data using Python. (I obtain these data using Bonsai and Open Ephys for an open field exploration experiment.) I sent $150\text{ ms}$ long TTL pulses ...
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 ...
1
vote
1answer
227 views

Best way to resample an OFDM signal without interpolating + filtering?

I am working on a custom transceiver with a sampling rate of 3.84 MHz (256 OFDM subcarriers at 15 kHz, although 56 subcarriers are null). I would like to resample the signal to 5 MHz, in order to use ...
0
votes
2answers
44 views

Resampling of DTFT

I have a constant digital signal that is 1 for every sample and of length 4. 4 point DFT coefficients are $$[4,0,0,0]^T$$ Obviously. I wonder, if I resample the DTFT such that samples are taken at $$...
3
votes
2answers
14k views

What is the difference between cubic interpolation and cubic “Spline” interpolation?. How to use it for upsampling purpose?

After considering a couple of advices and suggestions for upsampling techniques here, I finally converged to use the cubic interpolation technique to estimate the voltage values corresponding to ...
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
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 ...
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 ...
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
1answer
51 views

How to Emulate Sample Frequency Offset for OFDM in Matlab?

I am studying the effect of sampling frequency offset on OFDM, and in order to emulate SFO, I have to slightly change the sampling rate of the signal. In order to have a +5ppm offset, I have to change ...
0
votes
0answers
23 views

resample interpolation decimation filters algorithm

I'm creating a program in order to perform Resample, Interpolation and Decimation Frequency. ...
2
votes
1answer
112 views

How to Increase the Resolution of a Video from a Sequence of Photos?

I have a video filmed in a relatively low quality and resolution and a sequence of photos of higher quality taken of the same scene at the rate of about one image every two seconds or so. Could those ...
2
votes
2answers
926 views

Sinc Interpolation Using DFT (FFT)

Lets say I want to double the number of points in an array f. I had the idea to do this: F=fft(f);N=length(f); FF=[F(1:N/2) zeros(1,N) F(N/2+1:N)]; f=ifft(FF); ...
2
votes
2answers
137 views

Unexpected Result When Using Sinc Interpolation

blue is how I tried to sinc interpolate. why would something like this happen?
1
vote
1answer
247 views

Zero Order Hold with polyphase resampler

I'm trying to design a FIR filter(direct form) the coefficient of which will be used to design a polyphase resampler that does Zero-Order Hold resampling. If the direct form impulse response is ...
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
1answer
20 views

Decimating by last interpolating factor? (Multi-stage)

Let's say I have a multi-stage interpolator at the transmitter, which interpolates by 2, 4 and 8 (that is, 64). When decimating (at the receiver) why should I start decimating by 8, then 4, then 2, ...
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, ...
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
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
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
114 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: ...
3
votes
1answer
174 views

Optimal trade-off between oversampling and filter length

For some sampling-frequency-preserving operations on Nyquist–Shannon sampled signals, such as: a shift a.k.a. translation, and differentiation by applying a derivative filter a.k.a. gradient filter, ...
1
vote
3answers
290 views

Resampling and removing high frequency noise?

I am currently working on a simple sampler that will allow me to load in a wav file and use my MIDI keyboard to play the loaded wav sample at the frequency according to the note played. Now I need ...
0
votes
1answer
63 views

Upsampling and pulse duration

How does upsampling factor relate to pulse duration? If I want to do pulse shaping and I have rcosdesign(beta,span=8,sps=4) should I upsample by ...
1
vote
1answer
29 views

Method to rescale signals to mean length

I have a set of signals of varying lengths. I have provided an example of the same below - Their lengths vary between 186 to 202, with a mean length of 197. I am looking to rescale them to the mean ...
4
votes
3answers
420 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 ...
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 (...
5
votes
3answers
4k views

Why Is Bi Quadratic Interpolation for Image Resampling / Interpolation Rarely Done?

Related question: What are the practically relevant differences between various image resampling methods? Bilinear and bicubic interpolation for image resampling seem to be fairly common, but ...
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 ...
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 ...
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. ...
0
votes
1answer
305 views

Extrapolate a 2D array using Fourier Transform

I need to extrapolate a given 2D array to a larger domain, keeping the spatial frequency. This is the original field: (the data file in numpy npz format and a Jupyter notebook to plot it can be found ...
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 ...
1
vote
1answer
132 views

Is it possible to lose half the samples, and yet see the full spectrogram as the original signal?

Consider an speech audio signal sampled at 16,000 samples per second. Plot its spctrogram. If we delete every other sample from input signal, we get y[n] = x[2n] for all n. It seems that if we plot ...
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 ...
0
votes
1answer
570 views

The condition in order to not loose information after upsampling and downsampling [closed]

If you have a signal x[n] and it is upsampled by N and then downsampled by M. what is the condition for not losing any information in x[n]
0
votes
1answer
912 views

Resampling from variable to fixed-rate [closed]

I have a gyroscope which reports x,y,z values to my embedded device. The rate that one sample appears is variable and has a jitter of around 10ms. However I later want to have a log file with a fixed ...
3
votes
1answer
276 views

Fractional Delay Filters and Cutoff Frequences

I am trying to implement an interpolator for arbitrary sampling rate conversion of a one-dimensional signal (a fractional delay filter). I am aware of the fact that interpolation is in general a ...
2
votes
2answers
121 views

Resampling necessary?

I have a file that is composed of n data records with a sample rate s. Each of these records has a duration d. Now due to postprocessing I have to change the duration to d=d/3, thus afterwards I'll ...
0
votes
1answer
376 views

Convert 96 Khz to 48 Khz audio: is this simple downsampling method ok?

I have an audio signal x sampled at 96 Khz. I have already lowpassed it with a cutoff somewhere between 20 Khz and 22 Khz, so there should be nothing left of ...
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 ...