| Inports
| |
| x | Table index in x direction |
| Outports
| |
| Out | Table output |
| Mask Parameters | |
| TableData | Look-up table data |
| DimX | Number of data points in x-direction |
One dimensional look-up table with selectable number of data points.
Table data must be an array of size DimX.
FiP: Input range is from -1 to 1
Float: Input range is from 0 to DimX-1. If input is out of 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 |