3D Look-Up Table
Purpose
Compute piece-wise linear function of three input signals
Library
Control / Functions & Tables
Description
The 3D Look-Up Table block maps three input signals to an output signal. You define the mapping function by specifying three vectors of input values and an array of output values. The input vectors \(x\), \(y\) and \(z\) correspond to the first, second and third dimension of the output array.
The output value is interpolated or extrapolated from the block parameters using the technique described for the 1D Look-Up Table block.
Parameters
- Vector of input values x
The vector of input values \(x\). This vector must be the same size as the size of the first dimension in the output array and monotonically increasing. It should not contain more than three identical values.
- Vector of input values y
The vector of input values \(y\). This vector must be the same size as the size of the second dimension in the output array and monotonically increasing. It should not contain more than three identical values.
- Vector of input values z
The vector of input values \(z\). This vector must be the same size as the size of the third dimension in the output array and monotonically increasing. It should not contain more than three identical values.
- 3D array of output values f(x,y,z)
The array containing the output values \(f(x,y,z)\). The dimensions must match the size of the input vectors.
- Locate discontinuities
When set to
on, the Look-Up Table defines zero-crossing signals that prevent a variable-step solver from inadvertently stepping over a discontinuity of the input-output mapping or its derivative.When set to
off, the Look-Up Table does not explicitly influence the steps taken by a variable-step solver.
Probe Signals
- Input x
The block input signal \(x\).
- Input y
The block input signal \(y\).
- Input z
The block input signal \(z\).
- Output
The block output signal.