LookupTable2D_port

This block approximates a non-linear function using interpolation on data provided as a "2D-table".

    LookupTable2D_port

Library

Activate/LookupTables

Parameters

LookupTable2D_port_0

NameLabelDescriptionData TypeValid Values

Method

Interpolation method

Interpolation method. Default: bilinear.

String

'Linear'
'ZeroOrder(nearest)'
'ZeroOrder(floor)'
'ZeroOrder(ceil)'

DoOutside

Result outside the table range

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

String

'Zero'
'Hold'
'Linear'

EventGen

Apply zero crossings

Turn this parameter on to detect the zero crossings. Default is on.

Scalar

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

u1

explicit

input

1

u2

explicit

input

2

U1

explicit

input

3

U2

explicit

input

4

Y

explicit

input

5

Port 7

activation

input

externalActivation