LookupTableND_port

This block approximates a non-linear function using interpolation on data provided as an "n-dimensional table".

    LookupTableND_port

Library

Activate/LookupTables

Parameters

LookupTableND_port_0

NameLabelDescriptionData TypeValid 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'
'Nearest'
'Linear'
'Akima'
'Fritsch_Butland'
'Steffen'

DoOutside

Result outside the table range

Action to be taken with results outside of the table range.

String

'Hold'
'Linear'
'Zero'
'Error'

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
1

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
1

Ports

NameTypeDescriptionIO TypeNumber

y

explicit

output

1

Port 2

explicit

output

derivative

Port 3

explicit

input

2*nDims+1

Port 4

activation

input

externalActivation