Skip to main content
Version: current

Edge Counter

Description#

The block Edge Counter counts the number of edges in a dataset. An edge is defined as the difference between two samples is greater than 0 for rising edges. This can be useful if you want to count the edges in a digital signal.

MxNMx1

Input#

The input is MxN.

Output#

The output is dependent on Axis property. But can either be Mx1 or 1xN.

Attributes#

AttributeValue
NameEdgeCounter
EdgeRising
Axis1
Channels1

Name#

Name specifies the name of the block.

Edge#

Edge specifies what kind of edge should be counted. Currently only Rising is an option.

Axis#

Axis specifies which axis the edges should be counted on.

Channels#

Channels specifies the number of input(s)/output(s) the block will have.