XOR

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

The block performs the operation of element-by-element XOR (⊻, excluding OR) for input signals. By default, the block implements the operation for two input signals:

where y(t) is the output signal of the block, x1(t), x2(t) are the input signals (scalar values). Algorithm of operation for the number of input signals, more than two:

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

  • u_n - the n-th input port of the block. The number of input ports is configured in the block properties.

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

  • Y - operation result.

Свойства

  • Number of ports – specifies the number of block input ports.

Параметры

none