Matrix packing

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

The block implements the conversion of several input vector signals into one vector output signal according to the following algorithm:

or
where y(t) is the vector output signal, ui(t) is the vector input signals. The input vectors ui(t) interpreted as rows or columns of the [N×M] size matrix are transformed into a single vector output y(t) (depending on the packing option: by rows or by columns).

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

  • inport_n - port for input rows/columns of the formed matrix. The number of input ports depends on the number of rows/columns in the block properties.

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

  • OUTPORT - port for outputting the formed matrix.

Свойства

  • Number of rows in the matrixM.
  • Number of columns in the matrixN.
  • Matrix is unpacked via – the option of "unpacking" the matrix of input signals (by rows or by columns).
  • Pack the matrix via – the option of "packing" the output signal (by rows or by columns).

Параметры

none

Прим.:
  1. By default, the block packs two "two-wire" input signals into a matrix of size [2×2]. In this case, the input signals are perceived as rows of the matrix and the matrix is packed in rows.
  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.