MultiZC

This block produces an output event if any of the entries of the input matrix crosses zero. The block output, when activated, provides the direction of zero-crossings of the inputs (0: no crossing, 1: - to + and, -1: + to -). The block does not react to jumps across zero due to events so an input may change sign without any event generation, in particular if the input is a discrete signal.

    MultiZC

Library

ActivationOperations

Description

The input is a matrix signal. If any of the matrix entries crosses 0, an event is generated on its output activation port. The regular output is a matrix of the same size as the input. The output is updated only when the block is activated through its input activation port. The output represents the direction of the last zero-crossing event(s). An output entry 0, 1 or -1 represents respectively no crossing, upward crossing and downward crossing of the corresponding signal of the input.

Ports

NameTypeDescriptionIO TypeNumber

Port 1

explicit

Signal matrix

input

1

Port 2

explicit

Zero-crossing information matrix/

output

1

Port 3

activation

Activation of the output.

input

1

Port 4

activation

An event is generated if any of the inputs crosses zero.

output

1