Allows you to control the interpolation mode of a lookup table so that the previous y value is held between x values instead of interpolated.
Units: LOOKUP BACKWARD(units1,dimensionless) --> units1
Just as for normal Lookup usage the x argument is expected to be dimensionless. If not, a warning is issued, but not an error.
Example
LOOK((0,1),(1,1),(2,2))
LOOKUP BACKWARD(LOOK,-1) is equal to 1.0
LOOKUP BACKWARD(LOOK,1.5) is equal to 1.0
LOOKUP BACKWARD(LOOK,2.5) is equal to 2.0
Availability: Not PLE or PLE Plus.
See also: LOOKUP FORWARD, VECTOR LOOKUP, Lookups
Sample model: LOOKUP functions.mdl in FunctionExamples