People who code: we want your input. Take the Survey

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
1
vote
1answer
105 views

Design of efficient digital interpolation filter

I came across this paper entitled "Design of Efficient Digital Interpolation Filters and Sigma-Delta Modulator for Audio DAC" where the author oversamples an input frequency, fsig = 1kHz with ratio L =...
1
vote
1answer
1k views

Resampling time series to regular array, then downsampling (Butterworth)

Long time reader, first time poster. I have a few very simple questions that are troubling me and I am hoping that one of you guys can help me out. Setup & Aim: I have a time series that I want ...
1
vote
1answer
255 views

What method to use for interpolation and extrapolation?

Below are discrete samples { t1, f(t1) }, { t2, f(t2) }, ... ,{ tn, f(tn) } using Mathematica syntax. {{7.0,0.354887404925574},{7.3,0.4003399403324751}, {7.6,0.5849632195845474},{7.9,0....
1
vote
1answer
74 views

Hybrid Sampling Scheme Idea?

I am facing a problem which I could not find any robust solution for . Assume we have a signal, $x$, composed of sum of a few sinusoidal. e.g. $$x=A_1\sin(\omega_1t+\phi_1)+A_2\sin(\omega_2t+\phi_2)+...
1
vote
1answer
278 views

Perform inverse distance weighting interpolation using multiple images matlab

I have a total of 4 highly identical grayscale images, where image1 is taken as the reference image, the rest of the images are to be used to enhance image1. My objective is to enlarge the image to 2 ...
1
vote
1answer
418 views

Chosing polyphase interpolation coefficients

I'm writing code for a 3x polyphase interpolator using a total of 9 coefficients. This is organized as 3 parallel FIR branches with 3-taps each that are summed at the 3x sampling rate. The problem I ...
1
vote
1answer
98 views

Derivative of signal with missing samples

I have software that tracks an object moving (in the x-dimension only) across a video shot from a stationary camera. I need to find the velocity and acceleration of the object as functions of time. ...
1
vote
3answers
3k views

filter and resample or resample and smooth?

Currently doing some signal analysis in python for a major project in my physics degree which is due really soon. I need some help! Say I have two signals, f(t) and g(t) which are recorded over the ...
1
vote
1answer
92 views

Is there a need of Point interpolation before proceeding for gaussian smoothing of an incomplete distribution?

Suppose there is a distribution that has values sampled on the interval 1-25 with corresponding sample values that have to be smoothed. For example: ...
1
vote
0answers
44 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 ...
1
vote
0answers
31 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
1answer
32 views

Direct and Transpose Polyphase Multirate Processing

Polyphase implementations of upsampling/ interpolation and downsampling/ decimation, after having invoked the Noble identities, are presented as follows (taken from Proakis): (Three-Channel Polyphase ...
1
vote
0answers
100 views

Multi-stage interpolation [closed]

So I've read here Multi-Stage digital FIR filter vs Single stage FIR filter. Which is better? if you want to interpolate by a great number, it's always better to do so in multi-stage interpolations so ...
1
vote
0answers
68 views

How to draw a smooth spectrum from a discrete array of measurements at selected frequencies?

I have a AS7265x triad spectroscopy sensor from SparkFun (link) which gives me measurements at 18 individual light wavelengths between 410nm and 940nm. The datasheet says that the FWHM of each sensor ...
1
vote
1answer
35 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 ...
1
vote
0answers
54 views

Impact of Interpolation Types in Image Filtering (Laplacian Pyramids)

I am trying to construct Laplacian pyramids with different interpolation schemes such as bilinear, nearest neighbor, cubic and spline to observe the effect of interpolation types. I wrote a code in ...
1
vote
1answer
47 views

Resize High Resolution Camera Capture to Low Resolution Camera Capture?

Say, you captured a high-res image of a scene and a low-res image of the same scene, using a lower-res camera, ensuring that the lower-res camera is using the same technologies, except for the image ...
1
vote
0answers
4k views

Design of a Butterworth lowpass filter in MATLAB

I'm using the Signal Processing Toolbox in MATLAB to design a Butterworth low-pass filter. I'm told that my filter has been giving some unexpected results. In particular, when the values from this ...
1
vote
0answers
101 views

Regressing/interpolating between quasi-periodic sinusoids

This is a cross-post (on recommendation) from CV. My problem is very simple. I currently intend on using Kriging (Gaussian process regression) to perform regression between the trajectories marked ...
1
vote
0answers
133 views

How to shift with spline interpolation?

I have a sampled pulse shape: $ h = [1, 0.5]$ and I do not know what is its real underlying continuous-time pulse. I want to compute the samples of $h(t-\Delta t)$. If I write the continuous pulse ...
1
vote
0answers
42 views

How to proceed with this convolution problem?

If $$\alpha_k = \sum_l a_l \ \ g((k-l)T-l\Delta T)$$ $$s_k = \sum_l \alpha_l \ \ q((k-l)T+k\Delta T)$$ where $a_l \in \pm1$ and $g(t) = \frac {\sin(\pi t/T)}{\pi t/T}$ and $q(t) = \frac {\sin(\pi t/(...
1
vote
0answers
3k views

Image super resolution algorithm in Matlab

I'm trying to implement a simple Image super resolution algorithm (DWT-Based Resolution Enhancement ) in the following paper http://www.ripublication.com/aeee/52_pp%20%20%20405-412.pdf I tried to ...
1
vote
0answers
203 views

MATLAB implementation Spline Fitting

Let $s(t)$ be a signal that can be approximated by a uniform spline function of order $K$ (say $K=2$): $$s(t)\approx\sum_{n\in \mathbb{Z}}c_n\beta_+^{(K)}(t-n) $$ Suppose that we know the ...
1
vote
0answers
72 views

Interpolation methods for radar and acoustic imaging and potential pitfalls

A) What are the most common methods used to remap data for current generation imaging radars and acoustic sensors? B) What are some of the pitfalls in these methods? For example, in the past, at ...
1
vote
0answers
62 views

Interpolation methods for radar and acoustic imaging [duplicate]

-----------------deleted by author to merge with valid account
1
vote
1answer
738 views

Upsampling signal for cross correlation

I am recording a 17khz signal at a sample freq of 44.1khz. I want to perform cross-correlation between the received and transmitted signals for calculating TDOA. But when I do xcorr, the results are ...
1
vote
0answers
145 views

Extend linear spline interpolation to cubic spline interpolation - how calculate derivative

I'm trying implement in Java cubic spline interpolation based on this document: http://www.geos.ed.ac.uk/~yliu23/docs/lect_spline.pdf At first they show how to do linear spline and it's pretty easy. ...
1
vote
0answers
84 views

interpolation of filter coefficients

i've read that it is possible to interpolate between two sets of filter coefficients (if they are close of course), but how to interpolate between two sets of coefficients which are of different ...
1
vote
1answer
472 views

Implementation of halfband pass filter

I need to interpolate a complex valued bandlimited periodic function using local interpolation. I can have the signal sampled at any frequency I want over at equispace intervals. I am aware that for ...
0
votes
3answers
137 views

Why is my time domain interpolation via zero-padding in frequency domain wrong?

Since the process can be applied in either domain to increase the sampling rate in the other domain, I am trying to apply zero-padding in frequency space to recover a 'cleaner' interpolated signal in ...
0
votes
1answer
1k views

Why many DACs uses series of half band filters for interpolation instead of single one?

And why, according to some sources, these filters have different number of taps (the last is the shortest one)? Does it really reduce a cost of computation?
0
votes
2answers
670 views

Zero-order interpolation problem

Let $x_c(t)=\cos(\omega_0t)$. This signal is sampled with $\omega_s$, which is greater than the Nyquist rate. It is then interpolated with a zero-order interpolator. The signal obtained is $y_c(t)$. ...
0
votes
2answers
92 views

Why the plots of spline and cubic interpolation are exactly same? [closed]

I am trying to watch difference between cubic interpolation and spline interpolation using matlab plot but i am getting same plots in both cases using interp1 ...
0
votes
1answer
63 views

Linear interpolation formula

In the following lecture: http://www.ece.mcmaster.ca/~xwu/interp_1.pdf the model (formula) for solving the linear interpolation problem (1D) given at p.5 is: $f(x)= a_1x_1 + a_0x_0$ solve for $a1,...
0
votes
1answer
322 views

Amplitude loss during resampling with IIR

I have a problem in that I am resampling a signal and loosing amplitude. The steps I do are the following, in c++: Upsample/interpolate signal by 16x by padding with zeros. Run an IIR Bessel 2nd ...
0
votes
1answer
3k views

Formulating a function on Matlab for the Shannon interpolation formula

I am trying to formulate an algorithm for applying to Shannon interpolation formula to the discrete signal $$x[n]=\frac{c^2}{4}\int\limits_{0}^{n T}y\left(\tfrac{c}{2}s\right)\,ds,$$ where $c$ is ...
0
votes
2answers
2k views

Interpolation based on sinc function

I implemented an interpolation method in C++ based on this equation ...
0
votes
1answer
383 views

Best way to approximate a curve?

I have a curve like this one: I need a function to approximate this curve, but I need that the function be a low order function (less than 5). What is a good way to obtain what I expect? Thanks!
0
votes
1answer
766 views

What are the effects on filtering upsampled data without interpolation?

I have an application that displays several signals from different sensors at various sample rates. In order to display the data, I "stretch" the signal by repeating samples to match the highest ...
0
votes
1answer
47 views

Spectral peak location estimation using complex DFT

In this paper a simple method to estimate a spectral peak is proposed, by using quadratic interpolation between three samples of the DFT of the signal. Namely, the position of the peak relative to the ...
0
votes
2answers
57 views

Is there a way to use decimation or linear interpolation to shrink or stretch an audio signal in the time domain?

I am able to shrink/stretch an audio signal using Python code for a phase vocoder, as well as the stretchAudio function from Matlab's Audio Toolbox. Although both methods do indeed alter the audio ...
0
votes
1answer
37 views

How to transform a signal to go through specific points?

I have a 1d signal obtained using a Fourier based resample method (TDIFDZP) for which the resampled points don't necessarily go through the original samples. I want to transform the upsampled signal ...
0
votes
2answers
102 views

Sampling $x(t)=\cos(4\pi t)+\cos(2\pi t)$

Imagine that we sample the signal $x(t)=\cos(4\pi t)+\cos(2\pi t)$ with a certain sample frequency $f_s$ and we obtain $x[n]$. Now, by ideal interpolation, we get $y(t)$ from $x[n]$. How can we know ...
0
votes
1answer
63 views

Purely theoretical question about idelal filters and infinite oscillations

I am asking perhaps a naive question, but still, it would be nice to have this formally stated one time: in theory, if we could do it (of course, we cannot, but imagine we could), if we could ...
0
votes
2answers
305 views

Interpolation of audio for new frames

I am trying to upsample a video by existing frame interpolation techniques. In the process, I realize that I also need to interpolate the audio signal for the new frames so that the audio signal is in ...
0
votes
1answer
756 views

Sample Rate Conversion between 32K and 44.1K

I would like to know what are possible/typical efficient implementations (preferably in fixed-point DSP) of synchronous sample rate conversion between 32KHz and 44.1KHz (audio applications). Also, I'd ...
0
votes
1answer
179 views

Spectral density interpolation: Applications?

Let $\Phi_1$ and $\Phi_2$ be two matrix-valued power spectral densities. I wonder whether the problem of interpolating $\Phi_1$ and $\Phi_2$ has been studied in the literature and/or applied in ...
0
votes
1answer
519 views

How to design a FIR low pass filter and force a subset of filter coefficients to 0?

I'm looking into interpolating a signal by 2x and came into this matlab function interp: interp Interpolation — increase sampling rate by integer factor ...
0
votes
1answer
272 views

Is there a relatively easy way to detect likely real-time peaks in discrete-time data?

Let's say I have a set of data over time, t: [0, 4, 6, 7, 7, 6, 4, 0] It seems likely that this data would peak at ...
0
votes
1answer
268 views

Ideal Reconstruction of Upsampled Signal

Problem: The signal $cos(2\pi14100t)$ is sampled at $F_s = 400 Hz$. It is then upsampled with a factor 3 and then reconstructed ideally with a new frequency $F = 500 Hz$. I now want to find the new ...