Top "Interpolation" questions

Anything related to function interpolation, i.e. the mathematical techniques for estimating the (unknown) value of a function in a point on the basis of a set of known values in other (usually nearby) points.

How to implement linear interpolation?

Say I am given data as follows: x = [1, 2.5, 3.4, 5.8, 6] y = [2, 4, 5.8, 4.3, 4] I want to design a function that will interpolate linearly between 1 …

python interpolation linear-interpolation
Interpolating data points in Excel

I'm sure this is the kind of problem other have solved many times before. A group of people are going …

excel date interpolation
How can I get the output of a matplotlib plot as an SVG?

I need to take the output of a matplotlib plot and turn it into an SVG path that I can …

python svg matplotlib interpolation cairo
Android How to draw a smooth line following your finger

http://marakana.com/tutorials/android/2d-graphics-example.html I am using this example below. But when I move my fingers too …

java android touch interpolation curve-fitting
Generate colors between red and green for a power meter?

I'm writing a Java game and I want to implement a power meter for how hard you are going to …

language-agnostic graphics colors interpolation
Image rotation by Matlab without using imrotate

I am trying to rotate an image with Matlab without using imrotate function. I actually made it by using transformation …

matlab image-processing interpolation
How to perform cubic spline interpolation in python?

I have two lists to describe the function y(x): x = [0,1,2,3,4,5] y = [12,14,22,39,58,77] I would like to perform cubic spline interpolation …

python scipy interpolation spline cubic-spline
How do I implement a Bézier curve in C++?

I'd like to implement a Bézier curve. I've done this in C# before, but I'm totally unfamiliar with the …

c++ math interpolation spline
Spline Interpolation with Python

I wrote the following code to perform a spline interpolation: import numpy as np import scipy as sp x1 = [1., 0.88, 0.67, 0.50, 0.35, 0.27, 0.18, 0.11, 0.08, 0.04, 0.04, 0.02] y1 = [0., 13.99, 27.99, 41.98, 55.98, 69.97, 83.97, 97.97, 111.96, 125.96, 139.95, 153.95] …

python interpolation spline cubic
Nearest-neighbor interpolation algorithm in MATLAB

I am trying to write my own function for scaling up an input image by using the Nearest-neighbor interpolation algorithm. …

matlab image-processing interpolation nearest-neighbor resize-image