. |
Lookup Mechaware API Documentation > Lookup
OverviewOverviewThe Lookup block performs a step (type 0) or piecewise linear (types 1 and 2) mapping of the input. Lookup blocks have three forms Direct (direct indexing into table), Fixed (table spacing is fixed), and Vector (table spacing is specified by a vector). The Direct form (Type 0) uses the input to index into a lookup table. If the index is outside the bounds of the table the nearest output end value in the table is output. The following is an example of a Direct Lookup Block:
For the Fixed form (Type 1) the input minimum value and point spacing are specified. The output values are interpolated over the a range determined by the size of the lookup table. The input is outside the range of the table (below the input minimum or above the minimum + number of points * spacing) the output value is extrapolated from the nearest two end points in the table. The following is an example of a Fixed Lookup block:
The Lookup Block parameters are as follows:
Matlab/Simulink
C++ APILOOKUPBlockDeclaration Public Method
Description The Lookup block maps the an output to an input using a lookup table and is controlled by the type which can be Direct indexing, Fixed spacing, or Vector specified spacing. Parameters
Methods Remarks The number of lookup points is currently limited to 700 for Types 0 and 1, and 350 for Type 2. |
| | Copyright © 2001-2012 Motion Engineering |