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 one of the RAM implementations is used, DimX must not exceed 257.
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 | 64 Bit Floating Point Implementation with look-up table located in RAM |
FiP32 | 32 Bit Fixed Point Implementation with look-up table located in Flash memory |
Float32 | 32 Bit Floating Point Implementation with look-up table located in Flash memory |
Float64 | 64 Bit Floating Point Implementation with look-up table located in Flash memory |
FiP16_RAM | 16 Bit Fixed Point Implementation with look-up table located in RAM |
FiP32_RAM | 32 Bit Fixed Point Implementation with look-up table located in RAM |
Float32_RAM | 32 Bit Floating Point Implementation with look-up table located in RAM |
Float64_RAM | 64 Bit Floating Point Implementation with look-up table located in RAM |
64 Bit Floating Point Implementation with look-up table located in RAM
Inports Data Type
| |
x | int16 |
Outports Data Type
| |
Out | int16 |
32 Bit Fixed Point Implementation with look-up table located in Flash memory
Inports Data Type
| |
x | int32 |
Outports Data Type
| |
Out | int32 |
32 Bit Floating Point Implementation with look-up table located in Flash memory
Inports Data Type
| |
x | float32 |
Outports Data Type
| |
Out | float32 |
64 Bit Floating Point Implementation with look-up table located in Flash memory
Inports Data Type
| |
x | float64 |
Outports Data Type
| |
Out | float64 |
16 Bit Fixed Point Implementation with look-up table located in RAM
Inports Data Type
| |
x | int16 |
Outports Data Type
| |
Out | int16 |
32 Bit Fixed Point Implementation with look-up table located in RAM
Inports Data Type
| |
x | int32 |
Outports Data Type
| |
Out | int32 |
32 Bit Floating Point Implementation with look-up table located in RAM
Inports Data Type
| |
x | float32 |
Outports Data Type
| |
Out | float32 |
64 Bit Floating Point Implementation with look-up table located in RAM
Inports Data Type
| |
x | float64 |
Outports Data Type
| |
Out | float64 |