Linear function

| Vector | C |
в палитре на схеме

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).

Входные порты

  • input - the port for the linear function argument input.

Выходные порты

  • output - the port for the linear function value output.

Свойства

  • Constant term, in the formula a+b·x – the coefficient a.
  • Coefficient at x – the coefficient b.

Параметры

none

Прим.:
  1. By default, this block implements linear transformation of the input signal (scalar or vector) with coefficients a=0, b=1.
  2. 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.