y = xinterpn(m, x, xi)
Perform n-dimensional linear interpolation in very much the same manner as the Matlab function interpn. If this function is called one interpolation point at a time, interpolation will occur approximately three times faster than the native Matlab implementation. If a matrix of interpolation points is provided to this function, the speed advantage will increase beyond a factor of three.
|
Parameters |
Description |
|
m [matrix] |
Data table to be interpolated. |
|
x [cell] |
Cell array with the axes for the table. Each cell must contain a vector whose length matches the corresponding dimension size of the data table, m. |
|
xi [matrix] |
Interpolation points. This matrix must be N by # of dimensions in table, m, where N is the number of returned interpolation points. |
|
Return Values |
Description |
|
y [vector] |
Vector (Nx1) of Interpolated values. |
|
Copyright (c) MZA Associates 2009. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|