LookupTableND_port
This block approximates a non-linear function using interpolation on data provided as an "n-dimensional table".
Library
Activate/LookupTables
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
nDims | Number of dimensions | Number of dimensions of the lookup table. One dimension corresponds to one input. | Number | |
Method | Interpolation method | Interpolation method. Default: linear. | String | 'Hold' |
DoOutside | Result outside the table range | Action to be taken with results outside of the table range. | String | 'Hold' |
derivative | Provide partial derivative vector | If selected, the block provides the partial derivative vector of the table with respect to each dimension. In this case, inputs should be row vector. The directional derivative output will be a matrix of row size nDim and the same column size as inputs. | Number | 0 |
externalActivation | External activation | Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
y | explicit | output | 1 | |
Port 2 | explicit | output | derivative | |
Port 3 | explicit | input | 2*nDims+1 | |
Port 4 | activation | input | externalActivation |