Lookup table (map)
|
Signature |
|---|
|
Lookup2D(map, inputX, inputY, interpolationMode) |
|
Description |
|---|
|
Calculates the output value for a given 2D Table (map) and given X and Y axes' values. |
|
Result |
|---|
|
The output value which is calculated from the data of map at the location given by inputX and inputY. |
|
Arguments |
|
|---|---|
|
map |
The map data used for the calculation. It must consist of an array of X-axis' values, an array of Y-axis' values and a matrix of output values. The number of columns in the matrix must be the same as the number of elements in the X axis. The number of rows in the matrix must be the same as the number of elements in the Y axis. Only signals of type Map (e.g. from a CDF file) can be used. The values of the X and Y axes must be monotonic. |
|
inputX |
The X input value for which the output value is calculated. |
|
inputY |
The Y input value for which the output value is calculated. |
|
interpolationMode |
Specifies how the output value is calculated: If it is 0, constant interpolation is used. If it is 1, linear interpolation is used. If inputX or inputY are outside the range of the X- or Y-axis' values, constant interpolation is always used. |