Matrix Interpolation
Page in progress. |
Interpolation between matrices.
Description
The Matrix Interpolation block performs interpolation (or extrapolation) on a -dimensional table using pre-calculated indices and fraction values. Each data point can be a matrix. Interpolation of up to three reference point dimensions is supported.
If the dimensionality of the anchor points is set to , and each data point in the table is a matrix with dimensionality , then the number of table data dimensions is . The last dimensions of the table data must correspond to the dimension of the anchor points in each interpolation dimension. The first dimensions of the matrix are each data point.
Ports
Output
#
Port_1
—
approximation of N-dimensional function
scalar
| vector
| matrix
| multidimensional array
Details
An approximation -dimensional function calculated by interpolating (or extrapolating) tabular data from the values of the input index and the fraction .
Data types |
|
Complex numbers support |
No |
Input
#
k1
—
index k1 for the first dimension of the table
scalar
Details
Index for the first dimension of the table.
Data types |
|
Complex numbers support |
No |
#
f1
—
fraction f1 for the first dimension of the table
scalar
Details
Fraction for the first dimension of the table.
Data types |
|
Complex numbers support |
No |
#
k2
—
k2 index for the second dimension of the table
scalar
Details
Index for the second dimension of the table.
Dependencies
To use this port, set the Interpolate dimension parameters to 2
.
Data types |
|
Complex numbers support |
No |
#
f2
—
fraction f2 for the second dimension of the table
scalar
Details
Fraction for the second dimension of the table.
Dependencies
To use this port, set the Interpolate dimension parameters to 2
.
Data types |
|
Complex numbers support |
No |
#
k3
—
k3 index for the third dimension of the table
scalar
Details
Index for the third dimension of the table.
Dependencies
To use this port, set the Interpolate dimension parameters to 3
.
Data types |
|
Complex numbers support |
No |
#
f3
—
fraction f3 for the third dimension of the table
scalar
Details
Fraction for the third dimension of the table.
Dependencies
To use this port, set the Interpolate dimension parameters to 3
.
Data types |
|
Complex numbers support |
No |
Parameters
Parameters
#
Interpolation method —
interpolation method
Flat
| Nearest
| Linear
Details
A method of interpolating table data between reference points.
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
No |
#
Extrapolation method —
extrapolation method
Clip
| Linear
Details
A method of extrapolating table data when the index and fraction of the original data are outside the range of the reference points.
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
No |
#
Interpolate dimension —
table dimension
1
| 2
| 3
Details
Table dimensionality: 1
, 2
or 3
. This parameters defines:
-
The number of independent variables for the table and the number of block inputs.
-
The number of sets of reference point inputs to be defined.
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
No |
#
Table data —
output value table
Array of real and/or complex numbers
Details
Table of output values.
Enter the table of output values. The dimensionality of the data table must be equal to the sum of the dimensionality of the reference points and the dimensionality of the matrix, because each data point is a matrix for this block.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |