LookupTable3D
This block approximates a non-linear function using interpolation on data provided as a "3D-table".
Library
LookupTables
Description
The LookupTable3D block approximates a non-linear function using interpolation on data provided as a "3D-table". The three-dimensional table is then defined by specifying three vectors (x, y, z) of size m, n, and k, and a "3D-table", a vector of size m*n*k. Output of the block is the approximation of the block input using the bilinear interpolation method.
Each input can be either scalar, vector or matrix.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
xx | First input value | Vector of length m. | Vector | |
yy | Second input values | Vector of length n. | Vector | |
zz | Third input values | Vector of length k. | Vector | |
ff | Table data | vector of size (m x n x k). | Vector | |
Method | Interpolation method | String | 'Trilinear | |
DoOutside | Result outside the table range | String | 'Zero' | |
EventGen | Apply zero crossings | Scalar | 0 | |
externalActivation | External activation | This parameter defines if the block receives an external activation or inherits. When External Activation is used, a additional activation port is added to the block. default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | output | 1 | |
u1 | explicit | input | 1 | |
u2 | explicit | input | 2 | |
u3 | explicit | input | 3 | |
Port 5 | activation | input | externalActivation |