Linear source

| Vectorized |
in the palette on the schematic

The block is vectorized, forms the value of the output signal calculated by the formula:

where a, b are the coefficients, y(t) is the output signal, t is the current model time in seconds.

Inputs

none

Outputs

  • output - the port of the output value of the linear source.

Properties:

  • Constant term – coefficient a;
  • Coefficient of t – coefficient b.
Properties can be vectors: a = [a1,a2,…,an] and b = [b1,b2,…,bn], the dimensions of which must be the same, in which case the output will also be a vector: yi(t) = ai+bi·t, i=1...n.

Parameters

none

Прим.:
  1. By default, the block generates a scalar output signal.
  2. Named properties can be set as local model variables (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.