Standard Library -- Signal
LookupTable

 
Description:   The lookup table is defined using the Index Vector and the Value Vector. Each point in the lookup table is a pair: (IndexVector, ValueVector). Each SigIn value is interpolated within values of the Index Vector and the corresponding Value Vector is output in SigOut. Normally the lookup table is extrapolated if the values of SigIn are beyond the range of the Index Vector. However if the Extrapolate Flag is set to 1 then extrapolation is not performed and the appropriate maximum or minimum value of the Value Vector is output if the value of SigIn is beyond the range of the Index Vector. 
 
Inputs:   SimRealVar SigIn[DIMA] – Input Signal (ND)
SimRealVar IndexVector[DIMB] - Index Vector (ND)
SimRealVar ValueVector[DIMB] - Value Vector (ND)
SimRealVar Extrapolate - Extrapolate Flag (1 - No)
  
Outputs:   SimRealVar SigOut[DIMA] - Output Signal (ND) 
 
States:   None
 
Dimensions:   DIMA – Sets the width of input, and output vectors
DIMB - Sets the width of the table vector
 
 

return to component list

Home  |  Products & Services  |  Support Downloads & Demos  |  Documents  |  News & Events  |  About Us  |   Contact

Realtime Technologies, Inc.
© Copyright 2004-2007 Realtime Technologies Inc. All rights reserved.

Realtime Technologies Inc. (RTI) specializes in real time multibody vehicle dynamics, and graphical simulation and modeling.  We offer simulation software applications, consulting, custom engineering, software, and hardware development.  Realtime Technologies’ customer base includes international, government and private entities.  RTI was founded in 1998.