Linear function
![]() |
![]() |
| Vector | C | |
| in the palette | on the schematic |
The block is vectorized. It implements a linear transformation of the input signal (scalar or vector):

where a, b are the coefficients of a straight line (linear function), x(t), y(t) are the input and output signals (scalar or vector).

where a, b are the coefficients of a straight line (linear function), x(t), y(t) are the input and output signals (scalar or vector).
Inputs
- input - the port for the linear function argument input.
Outputs
- output - the port for the linear function value output.
Properties
- Constant term, in the formula a+b·x – the coefficient a.
- Coefficient at x – the coefficient b.
Parameters
none
Note:
- By default, this block implements linear transformation of the input signal (scalar or vector) with coefficients a=0, b=1.
- Named properties can be set as local model variables (or submodels) in a programming language script, as global project signals using the Tools → Signals main menu item, or as external project signals using an attachable signal database.

