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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | threshold | 0.5 | Output signal y is true, if input u >= threshold |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Blocks.Interfaces.RealInput | u | Connector of Real input signal | |
| Blocks.Interfaces.BooleanOutput | y (from partialBooleanSO) | Connector of Boolean output signal |