LIN – Linear interpolation

Block SymbolLicensing group: STANDARD
PIC

Function Description
The LIN block performs linear interpolation. The following figure illustrates the influence of the input u and given interpolation points [u1, y1] and [u2, y2] on the output y.

PIC

Input

u

Analog input of the block

Double (F64)

Output

y

Analog output of the block

Double (F64)

Parameters

u1

x-coordinate of the 1st interpolation node

Double (F64)

y1

y-coordinate of the 1st interpolation node

Double (F64)

u2

x-coordinate of the 2nd interpolation node  1.0

Double (F64)

y2

y-coordinate of the 2nd interpolation node  1.0

Double (F64)

2023 © REX Controls s.r.o., www.rexygen.com