# Questions tagged [interpolation]

Questions on the interpolation functions in Mathematica (Interpolation[], ListInterpolation[], FunctionInterpolation[], InterpolatingPolynomial[], etc.)

739 questions
Filter by
Sorted by
Tagged with
661 views

### Interpolation gone awry?

Here's a simple example of an interpolation function that seems to me to have gone awry. Maybe someone would be so kind as to tell my what's going on with this? ...
405 views

### How to easily find the coefficients of a cubic polynomial and its plot for the given 4 points

Given 4 points as points = {{0, 4}, {1, 0}, {2, -1}, {3, 0}};. I want to find the coefficients of ...
813 views

### Mathematica Interpolation or approximation

I have lists of points X and Y. {1212,1216,1217,1219...}, {1,2,3,4,5,6...} I combine ...
352 views

### Continuous non-piecewise equivalent of smoothstep function?

I have a smooth step function given by the piecewise function ...
1k views

### Interpolation function error: Interpolation::femimq and Interpolation::fememtlq

In Mathematica 10 the following command ...
128 views

### questions about InterpolationOrder

I have a function $C_0(x)=e^{-(x-2.5)^2/2.0}$ which is differentiable to infinite order. I want to approximate the function with Interpolation such that it is smooth until 10th derivative. Here is ...
137 views

143 views

### How to interpolate between InterpolatingFunction objects

For some reasons I need to implement the method of lines instead of using the NDSolve function directly. As described in this tutorial, this is how the simplest PDE can be solved: ...
165 views

### Saving and loading lists of interpolating functions fast and cross-platform

Is there any way to save and load several lists of interpolating functions efficiently and cross-platform? I want to save the resulting interpolating functions of NDSolve which takes very long to ...
312 views

### Interpolation of data on a 4D grid

I have a 4D grid ...
385 views

### FunctionInterpolation Errors / Question re Evaluation Order and Options

I have using Mathematica functions that takes a Cartesian coordinate relative to the Earth (xyz) and converts it to a latitude, longitude, and altitude (lla). And here it is: ...
475 views

### Interpolation of ListContourPlot3D, Volumetric data (cube file)

I know there are lots of information about this on stack exchange! Data interpolation and ListContourPlot InterpolationOrder for ContourPlot Unfortunately I was not able to find a proper way to ...
363 views

### Defining a region from combination of data and geometric region

I would like to define a region in (x,y) by combining the region RegionPlot[ ImplicitRegion[ Sqrt[x^2 + y^2] <= 0.99, {{x, 0.01, 0.99}, {y, 0.01, 0.99}}]] ...
3k views

### Can an Interpolation function be 'saved'? [duplicate]

Possible Duplicate: Save interpolated function I am importing tables with sizes of 100k - 500k rows and 4 columns. The larger the table, the slower my Mathematica runs for all computations after ...
70 views

### Extract a matrix from a ListInterpolation

I am looking to extract a large matrix from an InterpolatingFunction (roughly, 500x500x500), is there an easier way than extracting a Table ? I want a matrix of ...
912 views

### Interpolate on log scale

I have data in Mathematica that comes from y-log scale ...
35 views

### DumpSave and precision of interpolation data

Consider the following prec = 32; x = N[Range[0, 1, 1/10], prec]; f = Interpolation[Transpose@{x, y}]; Then ...
61 views

### Plotting InterpolationFunction over Quantities

What's the proper syntax to plot Interpolation functions defined over Quantities? points = {{0, 0}, {1, 1}, {2, 3}, {3, 4}, {4, 3}, {5, 0}}; Change domain to ...
267 views

### N[Integrate] failing to return an accurate result from an interpolated integrand

I need to N[Integrate] a function Cos[alpha*x]*f(x) between x=0 and 30 at increasing alpha-values. Here f(x) is an interpolated function derived from a set of 120 ...
593 views

### Cubic polynomial interpolation with velocities listed rather than some points

I am trying to use the function BSplineFunction[] to create a natural cubic spline. Normally what is done is that you specify "SplineDegree -> 3" and include a list of points and it will carry out ...
279 views

### ListDensityPlot of a data set in polar coordinates

I have this data set composed of a table of {r,f[r]}. I want to make a density plot of the data. It should look like the picture. The data is not normalized like ...
151 views

### Interpolation[] gives negative values when all the initial data is positive

I have this data: ...
1k views

### Interpolating a plot with missing values

With data = {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}, {7, 5}, {8, 4}, {10, 3}, {10, 2}, {11, 1}} and ...
543 views

### NIntegrate not working after interpolation

I used linear interpolation between points: ...
297 views

### How do I find a function to fit these criteria?

I want to find a smooth continuous function f[x] that satisfies the following for real values of x: ...
240 views

### FunctionInterpolation over an open interval

I'm trying to obtain an arc-length parametrization of a spline curve as per https://mathematica.stackexchange.com/a/8456. To do so, I need to calculate partial derivatives of such curve and then ...