Questions tagged [interpolation]

Interpolation is a method of constructing new data points within the range of a discrete set of known data points.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

16 point Sinc Interpolation Kernel

I have a signal that is sampled at Fs and wish to apply a "16-point Sinc interpolation kernel". However, I am not sure what the 16-point refers to. Does it refer to having a kernel that is ...
  • 1
1 vote
1 answer
71 views

Multirate Control System Transfer Functions

I'm interested in oversampling the inputs to a digital controller to increase the SNR of the input process variable signal. I've read on this site and in articles like the one below that it is not ...
  • 196
1 vote
3 answers
74 views

How to interpolate the peak amplitude of an fft output?

I want to find the peak amplitude of an audio signal in a given frequency area. My problem is that if the signal has a strong resonating frequency between 2 fft bins, then both bins are way below the ...
5 votes
2 answers
474 views

Odd artifacts after sinc interpolation

I am trying to upsample a signal using sinc interpolation. I have written a way to do this in python. ...
1 vote
0 answers
36 views

Guided bilinear interpolation: is it a known algorithm?

I have a function that's sampled relatively coarsely along one direction, $x$, and much more finely along another, $y$. Sampling grid is regular. I need to interpolate between all these samples, with ...
  • 229
2 votes
3 answers
173 views

Basics of interpolation: is filter or upsample first?

I am studying interpolation filters. I'm under the impression that when talking about interpolating a signal, we filter and then upsample the signal. BUT In an article, Interpolation (Digital Filter ...
  • 79
0 votes
1 answer
81 views

Interpolate & sample period GNU Radio

I've a little question regarding interpolation in GNU Radio: I'd like to do an interpolation (by a factor of 2) and be able to change the sampling period of the samples interpolated but im having a ...
  • 1
2 votes
1 answer
115 views

Fractional Frequency Shifting a Discrete Signal in the Frequency Domain

In our current hardware-based signal processing pipeline, we have a time-domain signal $x[n]$ that we want to frequency shift by $f_0$. To do this, we multiply the signal by a complex exponential in ...
  • 55
0 votes
1 answer
192 views

Plotting the Frequency Response of Zero-Order Hold

I'm trying to find the frequency response and the DC gain, then plot the response and find the cutoff frequency from the graph. I start off with the impulse response $$h(t)= 1 ; 0\leqslant t\leqslant ...
-1 votes
1 answer
119 views

Why is this Python implementation of trigonometric interpolation not working properly?

Consider a signal $u_j, j = 0, 1, \dots, N-1,$ sampled on an evenly-spaced grid of points, $x_j$. Define the discrete Fourier transform of $u_j$ by $$U_k := \frac{1}{\sqrt{N}} \sum_{j=0}^{N-1}u_je^{-(...
  • 3
2 votes
2 answers
257 views

Performing Sample-Rate Conversion on Subchunks of an Audio Signal

I have implemented sample-rate conversion (SRC) from scratch in my hobby music player, and it worked fine. However, originally, the music player loaded entire audio files into memory and performed the ...
1 vote
2 answers
113 views

Symbol Timing Recovery with Fractional Sample per Second

I'm trying to write symbol timing recovery loop and taking help from "Digital Communications A Discrete-Time Approach" by Miachel Rice. MATLAB communication toolbox has also implemented the ...
  • 125
0 votes
0 answers
58 views

How to implement interpolation by convolution for rotation of an image by an angle which is not a multiple of 90 degrees?

I know that the usual way to perform rotation of an image is to compute the new pixel coordinates by multiplying with a rotation matrix $ \begin{pmatrix}x_{rot} \\ y_{rot} \end{pmatrix} = \begin{...
0 votes
1 answer
86 views

Why does upsampling and interpolation by convolution introduce a shift compared to imresize?

For purposes of understanding the process - not for any practical purpose for which I could use imresize - I wanted to show that 2x upsampling followed by convolution with an appropriate kernel (...
1 vote
2 answers
86 views

Good interpolation functions for downscaling magnitude spectrums

I'm trying to downscale a 1D FFT (for displaying an audio spectrogram, like this: My question is: assuming I have a 512 bands spectrum, what would be the recommended interpolation algorithm to ...
1 vote
1 answer
104 views

Resample signal and start from a different point with numpy.interp

I am trying to resample a signal in Python, only by giving the new and the old step. My function works fine until here. But now I want to start the resampled signal at a specific point other than the ...
3 votes
3 answers
309 views

Interpolation FIR filter output spectrum

I've inherited some FPGA code implementing an interpolation by 2 with a FIR low pass filter. The code came with a cocotb test bench that also models a filter (scipy.signal.lfilter) and then compares ...
  • 77
5 votes
1 answer
73 views

Sinc Based Multi Dimension Signal Resampling on the Fourier Spectrum (DFT)

As a generalization of the following questions: The Proper Way to Do Sinc Downsampling (DFT Downsampling) for Uniformly Sampled Discrete Signals with Finite Number of Samples. The Proper Way to Do ...
4 votes
1 answer
107 views

Applying 2D Sinc Interpolation for Downsampling in the Fourier Domain (DFT / FFT)

Related to The Proper Way to Do Sinc Downsampling (DFT Downsampling) for Uniformly Sampled Discrete Signals with Finite Number of Samples, how can one apply Sinc downsampling in the DFT / FFT domain ...
1 vote
0 answers
47 views

How to find the kernel of the convolution?

I'm trying to solve the following exercise: Image A was doubled by linear interpolation. The magnification was performed in two stages. In the first stage, add about zero pixel to the image between ...
  • 243
4 votes
1 answer
149 views

Applying 2D Sinc Interpolation for Upsampling in the Fourier Domain (DFT / FFT)

Related to The Proper Way to Do Sinc Upsampling (DFT Upsampling) for Uniformly Sampled Discrete Signals with Finite Number of Samples, how can one apply Sinc upsampling in the DFT / FFT domain for a ...
2 votes
1 answer
135 views

Downsampling an image using sinc interpolation?

I have a discrete image of size $2^N \times 2^N$ which I would like to iteratively downsample to produce a pyramid with image sizes $2^k\times 2^k, \, k=0,\ldots,N$. That is, each subsequent image ...
1 vote
0 answers
26 views

1D Interpolating subdivision for wavelet lifting schemes

I am looking into wavelet lifting methods first introduced by Swelden, and explained in this paper: Build your own wavelets at home. In this paper (in chapter 2 specifically), they discuss ...
3 votes
2 answers
244 views

Interpolation by zero padding FFT

I'm currently studying the book Vibration-Based Condition Monitoring (second edition) by Robert Bond Randall. I'm trying to implement in Matlab an algorithm to "increase" the sample rate for ...
0 votes
3 answers
143 views

Sinc Interpolation between output samples of FFT

Let's say I'm designing a spectrum analyzer. While doing this I take the FFT of the real time data with the FFT size of 2048. Is there a way to increase the resolution in the frequency domain after ...
1 vote
1 answer
94 views

Spectral Interpolation vs Linear Interpolation

What is the main edge of using a spectral method (Spectral Intp/Trigonometric Intp) for upsampling or downsampling a signal in comparison to using a linear (Trilinear Intp) method to do the same? I ...
-1 votes
1 answer
93 views

Change Amplitude Magnitude after Interpolation Algorithm

I try to implement interpolation algorithm. I code this using MATLAB. Firstly, I create a signal and I upsample my signal using zero padding. ...
  • 113
0 votes
1 answer
27 views

Undo finite difference with arbitrary timesteps

I'm wondering if there is a way to undo a finite difference filter with arbitrary timesteps. In the simplest case of a two-sample finite difference of a time-series $x[n]$, \begin{equation} y[n] = x[n]...
5 votes
1 answer
196 views

The Proper Way to Do Sinc Upsampling (DFT Upsampling) for Uniformly Sampled Discrete Signals with Finite Number of Samples

Given a signal $ \left\{ x [ 0 ], x [ 1 ], ..., x [ N - 1 ] \right\} $ what would be the correct way to upsample it in the frequency domain (Sinc interpolation)? Note: Added as a request by the answer ...
  • 468
0 votes
1 answer
114 views

How to change the samplimg rate with interpolation and decimation?

I have a wav file at a 44.1KHz. I'm trying to change the sampling frequency to 1.26MHz. For that, I need to use interpolation and decimation, and so I did, but I'm getting odd results back. It seems ...
1 vote
0 answers
31 views

3D interpolation of a volume with irregular upsampling

Given a collection of 2D slices which as a whole corresponds to a 3D volume (medical image of an organ), I only take specific slices (i.e. I replace the ones I dont want with zeros) and so, I end up ...
0 votes
1 answer
117 views

Interpolation of complex signal

I'm struggling with particular (corner) case of interpolation of complex signal, in connection with OFDM modulation. While I assume that guard sub-carriers are always used, I'm studying a case when ...
1 vote
1 answer
29 views

Constrained interpolation/smoothing of multi-dimensional time series

Consider an $N$ dimensional time series $x_i(t),~i\in\{0,1,\cdots, N-1\}$ where $x_i(t)$ is smooth. It turns out that for all $t$: $x_i(t)>x_{i-1}(t)$. The multi-dimensional series is sampled at ...
  • 365
0 votes
0 answers
32 views

Role of oversampling within resampling / pitch modification

I'm working on a pitch modification plugin involving resampling, and want the quality to be as high as possible. I currently use windowed sinc interpolation and lowpass filter where required. I ...
1 vote
1 answer
82 views

How do I confirm that range cell migration correction was done correctly? Is there a way to check this graphically without looking at the signal data?

I am implementing the Range Doppler Algorithm for a Synthetic Aperture Radar project and I am at the step where I must perform Range Cell Migration Correction. This step involves creating a sinc ...
1 vote
1 answer
89 views

oQPSK/QPSK conversion with fractional interpolation

I once used a GNU Radio QPSK receiver for oQPSK demodulation. All I did was to "forcefully" delay the Q channel by half the symbol time. At the time, I was using a discrete number of samples ...
0 votes
2 answers
101 views

Frequency response of discrete time system involving interpolation and resampling

I am working on a problem towards calculating frequency response of discrete time system(does interpolation followed by resampling) which looks like: x(n) is fed to linear interpolator(h(t) = ...
0 votes
2 answers
265 views

Impulse response of linear interpolation in discrete time

I'm trying to understand interpolation in discrete time. We know that for linear interpolation we use h(t)=triangle waveform. When we talk about linear interpolation in discrete time, I'm using ...
0 votes
1 answer
123 views

How does upsampling/interpolation/oversampling help with noise shaping?

That's all, Why does upsampling improve the resolution and signal-to-noise ratio? What makes it so good for noise-shaping
2 votes
0 answers
116 views

Symbol timing recovery: Polyphase vs piecewise linear interpolation

A symbol timing recovery scheme shown below has been successfully implemented in C++. Different TEDs (Mueller & Mueller, Early-Late, Maximum Likelihood, Gardner, Zero-Crossing, etc) are included ...
1 vote
0 answers
156 views

Software implementation of Gardner Loop

My objective is to create a Gardner loop to remove the timing offset present in my signal. To achieve best timing SNR, I downsample my signal to 2 samples per symbol. It is depicted below: where blue ...
  • 133
4 votes
3 answers
668 views

Seamless looping of a signal without pops

I'm trying to seamlessly loop an audio signal. When I loop the current audio signal I have, I hear audible clicks or pops right as it loops back to the beginning. I want to be able to loop the audio ...
4 votes
3 answers
324 views

How to find peak value of an analog signal efficiently after sampling in the digital domain?

I have a bandlimited analog signal for which I want to find the peak value in real time. The signal is sampled and processed digitally at just enough sampling rate. Since the peak of the analog signal ...
1 vote
0 answers
118 views

Eliminating drift generated from double integration of acceleration signal using Envelope Method

I'm trying to remove the drift generated upon the double integration of a noisy acceleration signal. But this question discusses only removing the drift upon single integration to generate velocity ...
1 vote
2 answers
93 views

Difficulty absorbing Idea of interpolation?

I am trying to develop my understand of interpolation and signal reconstruction and uptill now i have understood that there are 3 commonly studied types of interpolation 1)Zero order hold ...
  • 11
1 vote
1 answer
68 views

piecewise-quadratic vs piecewise-cubic vs higher order polynomial interpolation?

There is a question available on DSP SE that mentions types of interpolation used for signal reconstruction but there isn't any mention about the difference between piecewise-quadratic,piecewise-cubic ...
  • 931
2 votes
1 answer
435 views

Zero order hold interpolation and Nearest-neighbor interpolation?

Is there any difference between Zero order hold interpolation and Nearest-neighbor interpolation I want to perform zero order hold interpolation in MATLAB,but there isn't any information about zero ...
  • 931
-1 votes
1 answer
281 views

Streaming windowed sinc interpolation/resampling: trying to understand a Rust implementation

I'm working on a fork of the Rust dasp library, which is intended to be a DSP toolkit that abstracts over samples/frames/signals, and contains a number of functions ...
0 votes
0 answers
108 views

Efficient Method for Interpolating between bins in FFTW

I'm working on some oscillator classes right now and perform FFT around 100 times per second. The issue I'm running into is interpolating between the bins so there is not a noticeable change from each ...
  • 1
1 vote
1 answer
39 views

Can multi-rate operations of decimation and interpolation can be used to implement a rate change by a factor an irrational number?

I know that common rates are integer values like 2 or 3, but can multi-rate operations of decimation and interpolation can be used to implement a rate change by a factor of an irrational number? ...
's user avatar

1
2 3 4 5
7