Inports
| |
x | Table index in x direction |
Outports
| |
Out | Table output |
Mask Parameters | ||
Name | ID | Description |
TableData | 1 | Look-up table data |
DimX | 2 | Number of data points in x-direction |
x_min | 3 | Minimum input value of x-dimension for look-up table |
x_max | 4 | Maximum input value of x-dimension for look-up table |
One dimensional look-up table with selectable number of data points.
Table data must be an array of size DimX.
If input is out of specified range, output will be cut off (no extrapolation).
The table of the LookupTable1D block must contain DimX data points and they have to be arranged as
TableData = | ![]() |
with n as the selected DimX value.
For periodic signals, the last entry must be identical to the first entry, see the example in the following figure.
For non-periodic signals there is no restriction regarding the last data point, see the example in the figure below.
FiP16 | 16 Bit Fixed Point Implementation |
FiP32 | 32 Bit Fixed Point Implementation |
Float32 | 32 Bit Floating Point Implementation |
Float64 | 64 Bit Floating Point Implementation |
16 Bit Fixed Point Implementation
Inports Data Type
| |
x | int16 |
Outports Data Type
| |
Out | int16 |
32 Bit Fixed Point Implementation
Inports Data Type
| |
x | int32 |
Outports Data Type
| |
Out | int32 |
32 Bit Floating Point Implementation
Inports Data Type
| |
x | float32 |
Outports Data Type
| |
Out | float32 |
64 Bit Floating Point Implementation
Inports Data Type
| |
x | float64 |
Outports Data Type
| |
Out | float64 |