blockRealToBoolean

Convert Real to Boolean signal

Extends from Interfaces.partialBooleanSO (Partial block with 1 output Boolean signal).

Information

This block computes the Boolean output y from the Real input u by the equation:

y = u ≥ threshold;

where threshold is a parameter.

Parameters

TypeNameDefaultDescription
Realthreshold0.5Output signal y is true, if input u >= threshold

Connectors

TypeNameDefaultDescription
Blocks.Interfaces.RealInputuConnector of Real input signal
Blocks.Interfaces.BooleanOutputy (from partialBooleanSO)Connector of Boolean output signal