M of N

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

The block returns the boolean 1 if the number of inputs on which the value is equal to the boolean 1 is greater than or equal to a set number:

where xi(t) is the scalar value at the i-th input to the block, y(t) is the output logic signal, k is the internal variable of the block to calculate the number of input signals equal to 1.

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

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

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

  • Y - operation result.

Свойства

  • Number of ports - number of input ports N.
  • Number of True values for triggering - the number of M input signals equal to one, when reached, a logical one is formed at the output.

Параметры

none